Fix Check

This commit is contained in:
seiichiro 2022-01-10 15:48:47 +01:00
parent 12f9149ca9
commit afec379bc4

View file

@ -58,8 +58,7 @@ $files = array_reverse($files);
// Get Files for current Page // Get Files for current Page
$curfiles = array_slice($files, ($page-1)*$slice ,$slice, true); $curfiles = array_slice($files, ($page-1)*$slice ,$slice, true);
if (count($curfiles > 0)) { if (count($curfiles) > 0) {
// Prepare Generic Data for Template // Prepare Generic Data for Template
$data['dir'] = $dir; $data['dir'] = $dir;
$data['slice'] = $slice; $data['slice'] = $slice;