We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5aa9eb commit f29e200Copy full SHA for f29e200
lib/common.php
@@ -297,9 +297,7 @@ function stopwatch() {
297
* Strip slashes from GET, POST, and COOKIE variables if this
298
* PHP install is configured to automatically addslashes()
299
*/
300
-if (@version_compare(phpversion(), '5.4.0', '<') &&
301
- @get_magic_quotes_gpc() &&
302
- (!isset($slashes_stripped) || !$slashes_stripped)) {
+if (@get_magic_quotes_gpc() && (! isset($slashes_stripped) || ! $slashes_stripped)) {
303
array_stripslashes($_REQUEST);
304
array_stripslashes($_GET);
305
array_stripslashes($_POST);
0 commit comments