diff options
author | Rafael Queiroz <faelrq@gmail.com> | 2012-06-08 19:34:20 +0200 |
---|---|---|
committer | Rafael Queiroz <faelrq@gmail.com> | 2012-06-08 19:34:20 +0200 |
commit | 6600b6965d99e53408356f04f69703396c9c7d5f (patch) | |
tree | dadf9064f6df2940dfa08d53a503079c2b717fca | |
parent | a593c69de4ea125c096f611c78dd0839489e7ebd (diff) |
Return $this when values ($key OR $values) is NULL
-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); |