don't show E_USER_DEPRECATED on the frontpage
This commit is contained in:
parent
538f87e415
commit
e9c3118ddd
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue