mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
do not try to log to sql on old schema version
This commit is contained in:
@@ -5,7 +5,7 @@ class Logger_SQL {
|
||||
|
||||
if ($errno == E_NOTICE) return false;
|
||||
|
||||
if (Db::get()) {
|
||||
if (Db::get() && get_schema_version() > 117) {
|
||||
|
||||
$errno = Db::get()->escape_string($errno);
|
||||
$errstr = Db::get()->escape_string($errstr);
|
||||
|
||||
Reference in New Issue
Block a user