]> git.wh0rd.org - tt-rss.git/commitdiff
api: initialize headlines header
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 09:37:19 +0000 (12:37 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 09:37:19 +0000 (12:37 +0300)
classes/api.php

index c61f522cbd8b547a4564ec59195924ae2309e11a..cbb4720c1b6c0d1cbecd811edb8ebfbec0038416 100644 (file)
@@ -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)) {