1
0
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:
Cameron
2020-12-31 09:06:20 -08:00
parent 798638a590
commit 5d7f921023
7 changed files with 49 additions and 26 deletions

View File

@@ -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'))
{