A free, self-hostable news aggregator…
Fix variable undeclared ($sql) (#3165)
Luc SANCHEZca965a490df8
diff --git a/app/Models/DatabaseDAOSQLite.php b/app/Models/DatabaseDAOSQLite.phpindex eaa2d37a7..f944ec043 100644--- a/app/Models/DatabaseDAOSQLite.php+++ b/app/Models/DatabaseDAOSQLite.php@@ -69,7 +69,7 @@ class FreshRSS_DatabaseDAOSQLite extends FreshRSS_DatabaseDAO {$ok = $this->pdo->exec('VACUUM') !== false;if (!$ok) {$info = $this->pdo->errorInfo();- Minz_Log::warning(__METHOD__ . ' error: ' . $sql . ' : ' . json_encode($info));+ Minz_Log::warning(__METHOD__ . ' error : ' . json_encode($info));}return $ok;}