api: initialize headlines header

This commit is contained in:
Andrew Dolgov 2015-07-12 12:37:19 +03:00
parent 491f69c7e3
commit b0ce3d33c3
1 changed files with 4 additions and 1 deletions

View File

@ -693,7 +693,10 @@ class API extends Handler {
$feed_title = $qfh_ret[1]; $feed_title = $qfh_ret[1];
$headlines = array(); $headlines = array();
$headlines_header = array();
$headlines_header = array(
'id' => $feed_id,
'is_cat' => $is_cat);
if (is_resource($result)) { if (is_resource($result)) {
while ($line = db_fetch_assoc($result)) { while ($line = db_fetch_assoc($result)) {