summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRafael Queiroz <faelrq@gmail.com>2012-06-08 19:34:20 +0200
committerRafael Queiroz <faelrq@gmail.com>2012-06-08 19:34:20 +0200
commit6600b6965d99e53408356f04f69703396c9c7d5f (patch)
treedadf9064f6df2940dfa08d53a503079c2b717fca /system
parenta593c69de4ea125c096f611c78dd0839489e7ebd (diff)
Return $this when values ($key OR $values) is NULL
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_query_builder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index 3ed556212..5d0a2ae2c 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -547,7 +547,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
{
if ($key === NULL OR $values === NULL)
{
- return;
+ return $this;
}
$type = $this->_group_get_type($type);