summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2011-09-24 17:47:09 +0200
committerAndrey Andreev <narf@bofh.bg>2011-09-24 17:47:09 +0200
commit8d263b02c56e25305621535e184333e8cdace9bd (patch)
treea0ceba4142276cc15b5819f32f8e7e37eeeca30c /system/core
parentabe8b78b65633b6942f57afbd263c7207821696b (diff)
Suppress warnings generated by get_magic_quotes_gpc() (issue #467)
Diffstat (limited to 'system/core')
-rwxr-xr-xsystem/core/Input.php2
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);
}