commit | 8d263b02c56e25305621535e184333e8cdace9bd | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Sat Sep 24 18:47:09 2011 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Sat Sep 24 18:47:09 2011 +0300 |
tree | a0ceba4142276cc15b5819f32f8e7e37eeeca30c | |
parent | abe8b78b65633b6942f57afbd263c7207821696b [diff] |
Suppress warnings generated by get_magic_quotes_gpc() (issue #467)
diff --git a/system/core/Input.php b/system/core/Input.php index f39371f..6f84421 100755 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -555,7 +555,7 @@ } // We strip slashes if magic quotes is on to keep things consistent - if (function_exists('get_magic_quotes_gpc') AND get_magic_quotes_gpc()) + if (function_exists('get_magic_quotes_gpc') AND @get_magic_quotes_gpc()) { $str = stripslashes($str); }