do not try to log to sql on old schema version
This commit is contained in:
parent
d9c85e0f11
commit
512b779391
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue