aboutsummaryrefslogtreecommitdiff
path: root/app/Models/TagDAOSQLite.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/TagDAOSQLite.php')
-rw-r--r--app/Models/TagDAOSQLite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/TagDAOSQLite.php b/app/Models/TagDAOSQLite.php
index b1deb6c65..ca0fce7ca 100644
--- a/app/Models/TagDAOSQLite.php
+++ b/app/Models/TagDAOSQLite.php
@@ -7,7 +7,7 @@ class FreshRSS_TagDAOSQLite extends FreshRSS_TagDAO {
}
protected function autoUpdateDb($errorInfo) {
- if ($tableInfo = $this->bd->query("SELECT sql FROM sqlite_master where name='tag'")) {
+ if ($tableInfo = $this->pdo->query("SELECT sql FROM sqlite_master where name='tag'")) {
$showCreate = $tableInfo->fetchColumn();
if (stripos($showCreate, 'tag') === false) {
return $this->createTagTable(); //v1.12.0