Thomas Bruederli
2013-01-31 873ae9e9de2aba0f22f3669b1e1519a439d97b5c
program/lib/Roundcube/rcube_db_sqlite.php
@@ -120,12 +120,7 @@
            $q = $this->query('SELECT name FROM sqlite_master'
                .' WHERE type = \'table\' ORDER BY name');
            if ($res = $this->_get_result($q)) {
                $this->tables = $res->fetchAll(PDO::FETCH_COLUMN, 0);
            }
            else {
                $this->tables = array();
            }
            $this->tables = $q ? $q->fetchAll(PDO::FETCH_COLUMN, 0) : array();
        }
        return $this->tables;