summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/cubrid
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-09 10:37:00 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-09 10:37:00 +0200
commitfce9abe379cd273262d5e3dcbbb169ffd090506a (patch)
tree7e2b2aa5d235bbb769d69ada60ea44d2b72b0e4e /system/database/drivers/cubrid
parent7eaa14f144f9aeab8fc388b6bed3390e5f815508 (diff)
Really fix that FROM group condition
Diffstat (limited to 'system/database/drivers/cubrid')
-rw-r--r--system/database/drivers/cubrid/cubrid_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/cubrid/cubrid_driver.php b/system/database/drivers/cubrid/cubrid_driver.php
index 8faa15bcf..01d0ee39e 100644
--- a/system/database/drivers/cubrid/cubrid_driver.php
+++ b/system/database/drivers/cubrid/cubrid_driver.php
@@ -438,7 +438,7 @@ class CI_DB_cubrid_driver extends CI_DB {
*/
protected function _from_tables()
{
- if ( ! empty($this->qb_join) && count($this->qb_from) > 0)
+ if ( ! empty($this->qb_join) && count($this->qb_from) > 1)
{
return '('.implode(', ', $this->qb_from).')';
}