Fix Check
This commit is contained in:
parent
12f9149ca9
commit
afec379bc4
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue