From: Andrew Dolgov Date: Sun, 12 Jul 2015 09:37:19 +0000 (+0300) Subject: api: initialize headlines header X-Git-Tag: 16.3~232^2~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b0ce3d33c3102f5c1176ecfba61f75d05e495622;p=tt-rss.git api: initialize headlines header --- diff --git a/classes/api.php b/classes/api.php index c61f522c..cbb4720c 100644 --- a/classes/api.php +++ b/classes/api.php @@ -693,7 +693,10 @@ class API extends Handler { $feed_title = $qfh_ret[1]; $headlines = array(); - $headlines_header = array(); + + $headlines_header = array( + 'id' => $feed_id, + 'is_cat' => $is_cat); if (is_resource($result)) { while ($line = db_fetch_assoc($result)) {