summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 218eed3d7..0c1f2b08e 100755
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -642,7 +642,7 @@ class CI_Input {
// CSRF Protection check on HTTP requests
- if ($this->_enable_csrf == TRUE && $this->is_cli_request())
+ if ($this->_enable_csrf == TRUE && ! $this->is_cli_request())
{
$this->security->csrf_verify();
}