diff options
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_result.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php index 98d8876a7..ed1642bdc 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php @@ -183,7 +183,7 @@ class CI_DB_result { { return $this->custom_result_object[$class_name]; } - elseif ( ! $this->result_id OR $this->num_rows === 0) + elseif ($this->result_id === FALSE OR $this->num_rows === 0) { return array(); } |