diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-09-24 18:01:04 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-09-24 18:01:04 +0200 |
commit | c19bb42eaff9e4ed9aa2cda44fe85b4cb2f9f62d (patch) | |
tree | 01c9450dcdaf0cb440a33175c28d0fae260583ea /system | |
parent | abe8b78b65633b6942f57afbd263c7207821696b (diff) | |
parent | 4f27b5b93090e483d73a8be0dbb4587309ed3686 (diff) |
Merge pull request #490 from narfbg/ci-issue-467
Fix issue #467 - suppress warnings generated from get_magic_quotes_gpc()
Diffstat (limited to 'system')
-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); } |