mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
PHP 8.1 fixes.
This commit is contained in:
@@ -229,7 +229,7 @@
|
||||
{
|
||||
$ret = array();
|
||||
$invert = false;
|
||||
if(strpos($fmask, '~') === 0)
|
||||
if(!empty($fmask) && strpos($fmask, '~') === 0)
|
||||
{
|
||||
$invert = true; // Invert selection - exclude files which match selection
|
||||
$fmask = substr($fmask, 1);
|
||||
|
Reference in New Issue
Block a user