mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Fix a missing function_exists() call
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user