summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-11-29 11:59:45 +0100
committerAndrey Andreev <narf@devilix.net>2017-11-29 11:59:45 +0100
commit9e2dcd4a6a70a997d8d741e8f113660f16b9a609 (patch)
tree90ce5082ee1aaa9f12b5c9ac3c971e2924ecd2bd /system/core
parentcf0e3e336ee872f1304bf0d19d39cc051db6c041 (diff)
[ci skip] Fix allow_get_array defaulting to FALSE if it doesn't exist
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index af4f87c1f..bb287ea4a 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -137,7 +137,7 @@ class CI_Input {
*/
public function __construct()
{
- $this->_allow_get_array = (config_item('allow_get_array') === TRUE);
+ $this->_allow_get_array = (config_item('allow_get_array') !== FALSE);
$this->_enable_xss = (config_item('global_xss_filtering') === TRUE);
$this->_enable_csrf = (config_item('csrf_protection') === TRUE);
$this->_standardize_newlines = (bool) config_item('standardize_newlines');