Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2014-10-03 14:52:45 +0400
committerThomas Steur <tsteur@users.noreply.github.com>2014-10-03 14:52:45 +0400
commit6025b629b765bccee8ac3ccbf44118698b7a659a (patch)
tree771eb6ab4d4e89e0044bf7544f3e3533965013f3 /core/Common.php
parentf3be71bd2050e2b3d8f4a910a6a5aae374ac0249 (diff)
only one return is better than two as mentioned in comment
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php2
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;