diff options
Diffstat (limited to 'kohana/libraries/Database.php')
-rw-r--r-- | kohana/libraries/Database.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kohana/libraries/Database.php b/kohana/libraries/Database.php index 49241675..59e47621 100644 --- a/kohana/libraries/Database.php +++ b/kohana/libraries/Database.php @@ -341,10 +341,10 @@ class Database_Core { foreach ($sql as $val) { - if (($val = trim($val)) === '') continue; - if (is_string($val)) { + if (($val = trim($val)) === '') continue; + // TODO: Temporary solution, this should be moved to database driver (AS is checked for twice) if (stripos($val, ' AS ') !== FALSE) { @@ -1187,7 +1187,7 @@ class Database_Core { { $this->link or $this->connect(); - return $this->driver->list_tables($this); + return $this->driver->list_tables(); } /** |