Explorar o código

Fix variable undeclared ($sql) (#3165)

* Fix variable undeclared ($sql)

* Update DatabaseDAOSQLite.php

modify
Luc SANCHEZ %!s(int64=5) %!d(string=hai) anos
pai
achega
ca965a490d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Models/DatabaseDAOSQLite.php

+ 1 - 1
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;
 	}