Fix even more Warnings
This commit is contained in:
parent
097e97dd1b
commit
80b245775f
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ if (!empty($curfiles)| !empty($dirs)) {
|
|||
if ($slice > 1) {
|
||||
if (!empty($curfiles)) {
|
||||
foreach ($curfiles as $index => $image) {
|
||||
if (in_array($image, $dirs)) {
|
||||
if (!empty($dirs) && in_array($image, $dirs)) {
|
||||
$data['dirs'][] = $image;
|
||||
} else {
|
||||
$tmp['n'] = $image;
|
||||
|
|
Loading…
Reference in a new issue