A free, self-hostable news aggregator…
SQL single quote string literals, one more (#6702)
Alexandre Alapetite51f93e56f7ff
diff --git a/app/Models/DatabaseDAOSQLite.php b/app/Models/DatabaseDAOSQLite.phpindex 3e15578e8..9380df094 100644--- a/app/Models/DatabaseDAOSQLite.php+++ b/app/Models/DatabaseDAOSQLite.php@@ -8,7 +8,7 @@ class FreshRSS_DatabaseDAOSQLite extends FreshRSS_DatabaseDAO {#[\Override]public function tablesAreCorrect(): bool {- $sql = 'SELECT name FROM sqlite_master WHERE type="table"';+ $sql = "SELECT name FROM sqlite_master WHERE type='table'";$stm = $this->pdo->query($sql);$res = $stm ? $stm->fetchAll(PDO::FETCH_ASSOC) : false;if ($res === false) {