diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2014-10-03 14:52:45 +0400 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2014-10-03 14:52:45 +0400 |
commit | 6025b629b765bccee8ac3ccbf44118698b7a659a (patch) | |
tree | 771eb6ab4d4e89e0044bf7544f3e3533965013f3 /core/Common.php | |
parent | f3be71bd2050e2b3d8f4a910a6a5aae374ac0249 (diff) |
only one return is better than two as mentioned in comment
Diffstat (limited to 'core/Common.php')
-rw-r--r-- | core/Common.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |