mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
A couple of minor PHP 8 fixes that can be applied now
This commit is contained in:
1 parent
c64efe6ecb
commit
65acb988db
11 files changed
+27
-9
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ define('PHPWG_ROOT_PATH','./');
|
||||
// addslashes to vars if magic_quotes_gpc is off this is a security
|
||||
// precaution to prevent someone trying to break out of a SQL statement.
|
||||
//
|
||||
if( !@get_magic_quotes_gpc() )
|
||||
if(function_exists('get_magic_quotes_gpc') && !@get_magic_quotes_gpc() )
|
||||
{
|
||||
if( is_array($_POST) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user