diff options
| author | Bruno Cesar Ribas <bcribas@users.noreply.github.com> | 2021-07-30 21:13:26 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 21:13:26 +0000 |
| commit | f469eaa9946dfd31bb562c6a7fb0c25c543f6a9e (patch) | |
| tree | 3593cb7fecd4ebd68887f6d9eafe027f458a2143 /src | |
| parent | cfcc1900c2e899e2905f28f71d9613c8bf3001d5 (diff) | |
| parent | 04d99c0683615d730d57375ec8be53065704f894 (diff) | |
| download | boca-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
Diffstat (limited to 'src')
| -rwxr-xr-x | src/globals.php | 4 |
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); } } |