summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_result.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php
index 32c51e07b..3bd43bac6 100644
--- a/system/database/DB_result.php
+++ b/system/database/DB_result.php
@@ -70,7 +70,7 @@ class CI_DB_result {
if (count($this->result_object) == 0)
{
- return FALSE;
+ return array();
}
return $this->result_object;
@@ -98,7 +98,7 @@ class CI_DB_result {
if (count($this->result_array) == 0)
{
- return FALSE;
+ return array();
}
return $this->result_array;