diff --git a/codepot/src/system/libraries/Input.php b/codepot/src/system/libraries/Input.php index e41cc5ac..ebc04894 100644 --- a/codepot/src/system/libraries/Input.php +++ b/codepot/src/system/libraries/Input.php @@ -179,7 +179,7 @@ class CI_Input { } // We strip slashes if magic quotes is on to keep things consistent - if ((!defined('PHP_MAJOR_VERSION') || (defined('PHP_MAJOR_VERSION') && PHP_MAJOR_VERSION < 7)) && get_magic_quotes_gpc()) + if ((!defined('PHP_MAJOR_VERSION') || (defined('PHP_MAJOR_VERSION') && PHP_MAJOR_VERSION < 7)) && get_magic_quotes_gpc()) { $str = stripslashes($str); }