try to fix warning for debugger on php 7.4 with deprecated function
authorgggeek <giunta.gaetano@gmail.com>
Sat, 25 Feb 2023 13:25:38 +0000 (13:25 +0000)
committergggeek <giunta.gaetano@gmail.com>
Sat, 25 Feb 2023 13:25:38 +0000 (13:25 +0000)
debugger/common.php

index 8604a1b..e3d2c6c 100644 (file)
@@ -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);