From bf9f43da8b5ed855f47542ab3a4c5e6cce0d1006 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 2 Dec 2019 13:47:44 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02329=20PHP=207.4=20compat=20:=20remove?= =?UTF-8?q?=20deprecated=20get=5Fmagic=5Fquotes=5Fgpc()=20function=20call?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/cmdbsource.class.inc.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/cmdbsource.class.inc.php b/core/cmdbsource.class.inc.php index 53fbc58ed..3b72e76ee 100644 --- a/core/cmdbsource.class.inc.php +++ b/core/cmdbsource.class.inc.php @@ -576,11 +576,6 @@ class CMDBSource return $aRes; } - // Stripslashes - if (get_magic_quotes_gpc()) - { - $value = stripslashes($value); - } // Quote if not a number or a numeric string if ($bAlways || is_string($value)) {