Skip to content

Commit

Permalink
PHP 8.1 Notice fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Dec 2, 2021
1 parent 762befb commit e03e077
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e107_handlers/media_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ public function import($cat='', $epath='', $fmask='', $options=array())
$count = 0;
foreach($img_array as $f)
{

if(!is_array($f))
{
continue;
}

if($f['fsize'] === 0) // prevent zero-byte files.
{
Expand Down

0 comments on commit e03e077

Please sign in to comment.