From e96e1319e4e48905e7ad7b082981ed2c71a2ba60 Mon Sep 17 00:00:00 2001 From: wdammak <26695620+wdammak@users.noreply.github.com> Date: Tue, 29 Sep 2020 20:52:24 +0200 Subject: [PATCH] Update functions.php Fix PHP7.4 --- admin/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/functions.php b/admin/functions.php index 2e7586ace..15c397049 100644 --- a/admin/functions.php +++ b/admin/functions.php @@ -202,7 +202,7 @@ function getDirContent($path) if (is_dir($path)) { $d = dir($path); while (false !== ($entry = $d->read())) { - if ($entry{0} != '.') { + if ($entry[0] != '.') { $content[] = $entry; } }