aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Cesar Ribas <bcribas@users.noreply.github.com>2021-07-30 21:13:26 +0000
committerGitHub <noreply@github.com>2021-07-30 21:13:26 +0000
commitf469eaa9946dfd31bb562c6a7fb0c25c543f6a9e (patch)
tree3593cb7fecd4ebd68887f6d9eafe027f458a2143
parentcfcc1900c2e899e2905f28f71d9613c8bf3001d5 (diff)
parent04d99c0683615d730d57375ec8be53065704f894 (diff)
downloadboca-f469eaa9946dfd31bb562c6a7fb0c25c543f6a9e.tar.gz
boca-f469eaa9946dfd31bb562c6a7fb0c25c543f6a9e.zip
Merge pull request #17 from wuerges/devel
Since PHP 7, the function get_magic_quotes_gpc() was deprecated and
-rwxr-xr-xsrc/globals.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/globals.php b/src/globals.php
index 63d4adc..293e962 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -26,10 +26,6 @@ function sanitizeVariables(&$item, $key)
{
if (!is_array($item))
{
- // undoing 'magic_quotes_gpc = On' directive
- if (get_magic_quotes_gpc())
- $item = stripcslashes($item);
-
$item = sanitizeText($item);
}
}