diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-09 17:59:54 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-09 17:59:54 +0200 |
commit | ef944f6bf77d41f3bdd0a1cdfe584db20ba7dc99 (patch) | |
tree | dadf9064f6df2940dfa08d53a503079c2b717fca /system/database | |
parent | a593c69de4ea125c096f611c78dd0839489e7ebd (diff) | |
parent | 6600b6965d99e53408356f04f69703396c9c7d5f (diff) |
Merge pull request #1450 from rafaelrq/patch-1
Return $this when values ($key OR $values) is NULL
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_query_builder.php | 2 |
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); |