commit 13b4e079649117156707b7f4084a27cccfb8d361
parent dccbefcc7bf7042f5331df58c9f972388bde9e98
Author: Jan Dankert <develop@jandankert.de>
Date: Sun, 4 Oct 2020 23:51:41 +0200
Fix: Now compatible with PHP 7.4.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/cms/action/FolderAction.class.php b/modules/cms/action/FolderAction.class.php
@@ -817,7 +817,7 @@ class FolderAction extends ObjectAction
private function stringToBytes($val)
{
$val = trim($val);
- $last = strtolower($val{strlen($val)-1});
+ $last = strtolower($val[strlen($val)-1]);
$val = intval($val);
// Achtung: Der Trick ist das "Fallthrough", kein "break" vorhanden!
switch($last)