From b0ce3d33c3102f5c1176ecfba61f75d05e495622 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Jul 2015 12:37:19 +0300 Subject: [PATCH] api: initialize headlines header --- classes/api.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/api.php b/classes/api.php index c61f522cb..cbb4720c1 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)) {