Fix updating decimal fields with default value (#3382)
authorMatthias Schmidt <gravatronics@live.com>
Wed, 24 Jun 2020 15:12:47 +0000 (17:12 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2020 15:12:47 +0000 (17:12 +0200)
commitd99a61ff28c2c4442802533dcaa8dc1fd638ff5f
tree91cbea6a64bacda5400b21d114c73f77b3d1223a
parent227cfaa7eb148e2a1ff7df2bd2cd14681596180d
Fix updating decimal fields with default value (#3382)

MySQL stores the default value using the specified number of decimals so that when comparing the existing default value with the new default value, the same format should be used.
wcfsetup/install/files/lib/system/database/table/column/AbstractDecimalDatabaseTableColumn.class.php