mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 09:39:55 +02:00
PHP8 Warning fixes.
This commit is contained in:
@@ -27,7 +27,7 @@ if (!getperms("A") && ($_GET['action'] != 'dialog') && ($_GET['action'] != 'yout
|
||||
exit;
|
||||
}
|
||||
|
||||
if($_GET['action'] == 'youtube' )
|
||||
if(varset($_GET['action']) === 'youtube' )
|
||||
{
|
||||
if(!getperms('A') && !getperms('A1'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user