Aleksander Machniak
2012-12-19 a8ffab3f4ff54af41c9041a30eb989954d6ffc17
Fix Call to undefined method rcube_db_sqlite::_get_result()
1 files modified
7 ■■■■ changed files
program/lib/Roundcube/rcube_db_sqlite.php 7 ●●●● patch | view | raw | blame | history
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;