diff options
author | Andrey Andreev <narf@bofh.bg> | 2011-09-24 17:47:09 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2011-09-24 17:47:09 +0200 |
commit | 8d263b02c56e25305621535e184333e8cdace9bd (patch) | |
tree | a0ceba4142276cc15b5819f32f8e7e37eeeca30c | |
parent | abe8b78b65633b6942f57afbd263c7207821696b (diff) |
Suppress warnings generated by get_magic_quotes_gpc() (issue #467)
-rwxr-xr-x | system/core/Input.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index f39371fb0..6f8442107 100755 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -555,7 +555,7 @@ class CI_Input { } // 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); } |