From 6025b629b765bccee8ac3ccbf44118698b7a659a Mon Sep 17 00:00:00 2001 From: Thomas Steur <tsteur@users.noreply.github.com> Date: Fri, 3 Oct 2014 18:52:45 +0800 Subject: [PATCH] only one return is better than two as mentioned in comment --- core/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Common.php b/core/Common.php index bf18343bd3..5c1391bfdb 100644 --- a/core/Common.php +++ b/core/Common.php @@ -365,7 +365,7 @@ class Common if (version_compare(PHP_VERSION, '5.4', '<') && get_magic_quotes_gpc()) { - return stripslashes($value); + $value = stripslashes($value); } return $value; -- GitLab