summaryrefslogtreecommitdiffstats
path: root/application/core
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-09-21 11:32:10 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-09-21 13:53:02 +0200
commit3d38163a81ce1e5921be690348b30a2f6db62837 (patch)
tree9f59debf7b6f18e9a56febdad0fef54eb59e85f4 /application/core
parentab58703f61b1d0573444e357840d38533fb1ee85 (diff)
Fix return checks for CI3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/core')
-rw-r--r--application/core/MY_Input.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/core/MY_Input.php b/application/core/MY_Input.php
index 4d43774c0..5a08ea4bb 100644
--- a/application/core/MY_Input.php
+++ b/application/core/MY_Input.php
@@ -26,8 +26,8 @@ class MY_Input extends CI_Input {
public function post_array($key) {
$ret = parent::post($key);
- if ($ret === false) {
- return false;
+ if ($ret === null) {
+ return null;
} elseif (!is_array($ret)) {
$data = [
"key" => $key,