From 72edcd940e534635a90737d176b8602883886679 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Tue, 11 Jan 2022 16:32:57 +0100 Subject: [PATCH] Fix Syntax Error --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index fd0030e..d3b59e9 100644 --- a/index.php +++ b/index.php @@ -37,7 +37,7 @@ if (isset($_SESSION['files']) $files = $_SESSION['files']; } else { $tmpdirs = glob(Helpers::end_dir($imagedir.$dir).'*' , GLOB_ONLYDIR); - foreach ($tmpdirs as $tmpdir): + foreach ($tmpdirs as $tmpdir) $dirs[] = basename($tmpdir); $rmdirs = $dirs; $rmdirs[] = '.';