소스 검색

Fix variable undeclared ($sql) (#3165)

* Fix variable undeclared ($sql)

* Update DatabaseDAOSQLite.php

modify
Luc SANCHEZ 5 년 전
부모
커밋
ca965a490d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
 		$ok = $this->pdo->exec('VACUUM') !== false;
 		if (!$ok) {
 		if (!$ok) {
 			$info = $this->pdo->errorInfo();
 			$info = $this->pdo->errorInfo();
-			Minz_Log::warning(__METHOD__ . ' error: ' . $sql . ' : ' . json_encode($info));
+			Minz_Log::warning(__METHOD__ . ' error : ' . json_encode($info));
 		}
 		}
 		return $ok;
 		return $ok;
 	}
 	}