summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/interbase/interbase_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-08 01:12:07 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-08 01:12:07 +0200
commitc78e56a7df140ee777ffc67687877f3e70c77e28 (patch)
treeb26e6ec5090e018baaf58f4a2acc71d9c569d0b1 /system/database/drivers/interbase/interbase_driver.php
parentcaa04f15096590261093dff2a8b59f266a1dcaf5 (diff)
Add a default _from_tables() method to CI_DB_query_builder and remove it from most of the drivers
Diffstat (limited to 'system/database/drivers/interbase/interbase_driver.php')
-rw-r--r--system/database/drivers/interbase/interbase_driver.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/system/database/drivers/interbase/interbase_driver.php b/system/database/drivers/interbase/interbase_driver.php
index 8cbbfa17d..5a03607ee 100644
--- a/system/database/drivers/interbase/interbase_driver.php
+++ b/system/database/drivers/interbase/interbase_driver.php
@@ -324,13 +324,7 @@ class CI_DB_interbase_driver extends CI_DB {
*/
protected function _from_tables($tables)
{
- if ( ! is_array($tables))
- {
- $tables = array($tables);
- }
-
- //Interbase/Firebird doesn't like grouped tables
- return implode(', ', $tables);
+ return is_array($tables) ? implode(', ', $tables) : $tables;
}
// --------------------------------------------------------------------