1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

PHP 8.1 Notice fix.

This commit is contained in:
Cameron
2021-12-02 14:08:24 -08:00
parent 762befb092
commit e03e077a8c

View File

@@ -112,6 +112,11 @@ class e_media
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.
{ {
continue; continue;