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