don't show E_USER_DEPRECATED on the frontpage

This commit is contained in:
Andrew Dolgov 2021-02-17 14:14:10 +03:00
parent 538f87e415
commit e9c3118ddd
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ class RPC extends Handler_Protected {
$sth = $pdo->prepare("SELECT COUNT(id) AS cid $sth = $pdo->prepare("SELECT COUNT(id) AS cid
FROM ttrss_error_log FROM ttrss_error_log
WHERE WHERE
errno != 1024 AND errno NOT IN (".E_USER_NOTICE.", ".E_USER_DEPRECATED.") AND
$log_interval AND $log_interval AND
errstr NOT LIKE '%imagecreatefromstring(): Data is not in a recognized format%'"); errstr NOT LIKE '%imagecreatefromstring(): Data is not in a recognized format%'");
$sth->execute(); $sth->execute();