Fix a missing function_exists() call

This commit is contained in:
Ana Els
2021-01-31 23:01:27 +00:00
committed by MatthieuLP
parent 65acb988db
commit 71efee7737

View File

@@ -212,7 +212,7 @@ SELECT status
$username = $_POST['username'];
$password = $_POST['password'];
if(!@get_magic_quotes_gpc())
if(function_exists('get_magic_quotes_gpc') && !@get_magic_quotes_gpc() )
{
$username = pwg_db_real_escape_string($username);
}