From d1dae60f05d82a12f4631bf764db21c04a2b9a3a Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 2 Apr 2023 09:10:49 +1000 Subject: [PATCH] get_magic_quotes_gpc() was deprecrated as of PHP 7.4 --- lib/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.php b/lib/common.php index 1925ab1..153e19e 100644 --- a/lib/common.php +++ b/lib/common.php @@ -297,7 +297,7 @@ if ($app['language'] == 'auto') { * Strip slashes from GET, POST, and COOKIE variables if this * PHP install is configured to automatically addslashes() */ -if (@get_magic_quotes_gpc() && (! isset($slashes_stripped) || ! $slashes_stripped)) { +if ((! isset($slashes_stripped) || ! $slashes_stripped)) { array_stripslashes($_REQUEST); array_stripslashes($_GET); array_stripslashes($_POST);