From 3d38163a81ce1e5921be690348b30a2f6db62837 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 21 Sep 2017 11:32:10 +0200 Subject: Fix return checks for CI3 Signed-off-by: Florian Pritz --- application/core/MY_Input.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/core/MY_Input.php') 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, -- cgit v1.2.3-24-g4f1b