exclude E_USER_NOTICE from recent events icon

This commit is contained in:
Andrew Dolgov 2020-09-29 10:03:11 +03:00
parent 23d20847a3
commit 3b17c45887
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ class RPC extends Handler_Protected {
$log_interval = "created_at > DATE_SUB(NOW(), INTERVAL 1 HOUR)"; $log_interval = "created_at > DATE_SUB(NOW(), INTERVAL 1 HOUR)";
} }
$sth = $pdo->prepare("SELECT COUNT(id) AS cid FROM ttrss_error_log WHERE $log_interval"); $sth = $pdo->prepare("SELECT COUNT(id) AS cid FROM ttrss_error_log WHERE errno != 1024 AND $log_interval");
$sth->execute(); $sth->execute();
if ($row = $sth->fetch()) { if ($row = $sth->fetch()) {