From: Cyperghost Date: Mon, 16 Sep 2024 09:05:45 +0000 (+0200) Subject: The function `getContent()` is called by `getData()` and internally `getContent(... X-Git-Tag: 6.1.0_Beta_2~30 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1abf5870b28657b1310db81619e5aa96cd6c32be;p=GitHub%2FWoltLab%2FWCF.git The function `getContent()` is called by `getData()` and internally `getContent()` is used to parse the value. See https://www.woltlab.com/community/thread/308217-the-set-value-is-too-large-error-when-trying-to-edit-a-user-group/ --- diff --git a/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php b/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php index 07411e00b5..ee424f12b1 100644 --- a/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php @@ -23,7 +23,7 @@ class FileSizeOptionType extends TextOptionType /** * @inheritDoc */ - public function getData(Option $option, $newValue) + public function getContent(Option $option, $newValue) { $number = \str_replace(WCF::getLanguage()->get('wcf.global.thousandsSeparator'), '', $newValue); $number = \str_replace(WCF::getLanguage()->get('wcf.global.decimalPoint'), '.', $number);