From bea3c91312d3cc02b1f5d2726cb38b16bbd5106c Mon Sep 17 00:00:00 2001 From: gggeek Date: Sat, 25 Feb 2023 13:25:38 +0000 Subject: [PATCH] try to fix warning for debugger on php 7.4 with deprecated function --- debugger/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.0