diff options
author | Andrew Dolgov <[email protected]> | 2015-07-12 12:37:19 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-07-12 12:37:19 +0300 |
commit | b0ce3d33c3102f5c1176ecfba61f75d05e495622 (patch) | |
tree | 2615308c86a6a20f6aaafcb58e22078c3ec40cb4 | |
parent | 491f69c7e363ac751d2207813f6f0a9424c93505 (diff) |
api: initialize headlines header
-rw-r--r-- | classes/api.php | 5 |
1 files changed, 4 insertions, 1 deletions
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)) { |