Bug : compatibility PHP7.4

This commit is contained in:
Dany De Bontridder 2020-06-15 20:46:19 +02:00
parent 376aab00b2
commit 270143694e

View file

@ -1257,7 +1257,7 @@ function _dochecks()
if(ini_get('mbstring.func_overload') & 2)
$this->Error('mbstring overloading must be disabled');
// Ensure runtime magic quotes are disabled
if(get_magic_quotes_runtime())
if(version_compare(PHP_VERSION, '7.3.0','<') && get_magic_quotes_runtime())
@set_magic_quotes_runtime(0);
}