aboutsummaryrefslogtreecommitdiff
path: root/app/Models/DatabaseDAOSQLite.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-08-11 22:09:14 +0200
committerGravatar GitHub <noreply@github.com> 2024-08-11 22:09:14 +0200
commit51f93e56f7ffc8fbae825124fe740ab623519e0c (patch)
tree1d2b1f91415253441052ca7a5458f4f26fbd71de /app/Models/DatabaseDAOSQLite.php
parente08574a47d33c74eccc0675248a8d83ca205fed2 (diff)
SQL single quote string literals, one more (#6702)
Forgotten from https://github.com/FreshRSS/FreshRSS/pull/6701 https://github.com/FreshRSS/FreshRSS/issues/6602
Diffstat (limited to 'app/Models/DatabaseDAOSQLite.php')
-rw-r--r--app/Models/DatabaseDAOSQLite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/DatabaseDAOSQLite.php b/app/Models/DatabaseDAOSQLite.php
index 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) {