From afec379bc404bdbf80f8bd5016f07a2cb57565f6 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Mon, 10 Jan 2022 15:48:47 +0100 Subject: [PATCH] Fix Check --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.php b/index.php index c7cf1ed..1654a3d 100644 --- a/index.php +++ b/index.php @@ -58,8 +58,7 @@ $files = array_reverse($files); // Get Files for current Page $curfiles = array_slice($files, ($page-1)*$slice ,$slice, true); -if (count($curfiles > 0)) { - +if (count($curfiles) > 0) { // Prepare Generic Data for Template $data['dir'] = $dir; $data['slice'] = $slice;