The function `getContent()` is called by `getData()` and internally `getContent(...
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 16 Sep 2024 09:05:45 +0000 (11:05 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 16 Sep 2024 09:05:45 +0000 (11:05 +0200)
See https://www.woltlab.com/community/thread/308217-the-set-value-is-too-large-error-when-trying-to-edit-a-user-group/

wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php

index 07411e00b5c40434fb5fc35d1d2de8b8cdcd9244..ee424f12b168ffb3292f3befd915e8de69cce517 100644 (file)
@@ -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);