commit 383b19d033b23ddfc48962566a3e738e3f7d545a
parent f41276fbb9584eee26adb8d149ce32e746ba5963
Author: Jan Dankert <devnull@localhost>
Date: Wed, 5 Sep 2018 22:09:03 +0200
Die Byteanzahl muss numerisch sein.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/cms-core/action/FolderAction.class.php b/modules/cms-core/action/FolderAction.class.php
@@ -1067,10 +1067,10 @@ class FolderAction extends ObjectAction
{
$val = trim($val);
$last = strtolower($val{strlen($val)-1});
+ $val = intval($val);
// Achtung: Der Trick ist das "Fallthrough", kein "break" vorhanden!
switch($last)
{
- // The 'G' modifier is available since PHP 5.1.0
case 'g':
$val *= 1024;
case 'm':