mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
PHP 8.1 Notice fix.
This commit is contained in:
parent
762befb092
commit
e03e077a8c
@ -111,6 +111,11 @@ class e_media
|
||||
$count = 0;
|
||||
foreach($img_array as $f)
|
||||
{
|
||||
|
||||
if(!is_array($f))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if($f['fsize'] === 0) // prevent zero-byte files.
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user