mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
PHP 8.1 Notice fix.
This commit is contained in:
@@ -112,6 +112,11 @@ class e_media
|
||||
foreach($img_array as $f)
|
||||
{
|
||||
|
||||
if(!is_array($f))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if($f['fsize'] === 0) // prevent zero-byte files.
|
||||
{
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user