git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06350ab
)
try to fix warning for debugger on php 7.4 with deprecated function
author
gggeek
<giunta.gaetano@gmail.com>
Sat, 25 Feb 2023 13:25:38 +0000
(13:25 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Sat, 25 Feb 2023 13:25:38 +0000
(13:25 +0000)
debugger/common.php
patch
|
blob
|
history
diff --git
a/debugger/common.php
b/debugger/common.php
index
8604a1b
..
e3d2c6c
100644
(file)
--- 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);