summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-23 21:52:31 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-23 21:52:31 +0100
commit18eba2411f5698f669397e7538af6be1c414a63f (patch)
tree61d02ccfc219e708a9b5730e8d080f320dd38b9a /system/database
parentc67c3fbb8e16b1ffb79c72bb91db04fcb005b2b1 (diff)
Fix #2836
Diffstat (limited to 'system/database')
-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 c543e1584..8223baac1 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -2367,7 +2367,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
for ($i = 0, $c = count($this->qb_groupby); $i < $c; $i++)
{
// Is it already compiled?
- if (is_string($this->qb_groupby))
+ if (is_string($this->qb_groupby[$i]))
{
continue;
}