From: gggeek Date: Sat, 25 Feb 2023 13:25:38 +0000 (+0000) Subject: try to fix warning for debugger on php 7.4 with deprecated function X-Git-Tag: 4.10.2~12 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=bea3c91312d3cc02b1f5d2726cb38b16bbd5106c;p=plcapi.git try to fix warning for debugger on php 7.4 with deprecated function --- diff --git a/debugger/common.php b/debugger/common.php index 8604a1be..e3d2c6c3 100644 --- a/debugger/common.php +++ b/debugger/common.php @@ -50,7 +50,7 @@ if (ini_get('register_globals')) { } // work around magic quotes -if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) { +if (function_exists('get_magic_quotes_gpc') && @get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);