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 ($slice > 1) {
|
||||||
if (!empty($curfiles)) {
|
if (!empty($curfiles)) {
|
||||||
foreach ($curfiles as $index => $image) {
|
foreach ($curfiles as $index => $image) {
|
||||||
if (in_array($image, $dirs)) {
|
if (!empty($dirs) && in_array($image, $dirs)) {
|
||||||
$data['dirs'][] = $image;
|
$data['dirs'][] = $image;
|
||||||
} else {
|
} else {
|
||||||
$tmp['n'] = $image;
|
$tmp['n'] = $image;
|
||||||
|
|
Loading…
Reference in a new issue