mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:05:55 +00:00
API: oops, forgot that headlines could be requested for a tag
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user