From: Andrew Dolgov Date: Wed, 29 Aug 2018 09:55:03 +0000 (+0300) Subject: API: oops, forgot that headlines could be requested for a tag X-Git-Tag: 18.12~83 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a291a0c00f827ba58442ecdac6cc195685582664;p=tt-rss.git API: oops, forgot that headlines could be requested for a tag --- diff --git a/classes/api.php b/classes/api.php index 607a25e6..58fccdfe 100755 --- a/classes/api.php +++ b/classes/api.php @@ -186,7 +186,7 @@ class API extends Handler { function getHeadlines() { $feed_id = clean($_REQUEST["feed_id"]); - if (is_int($feed_id)) { + if ($feed_id !== "") { if (is_numeric($feed_id)) $feed_id = (int) $feed_id;