api: add always_display_attachments to getHeadlines

This commit is contained in:
Andrew Dolgov 2012-10-10 16:36:03 +04:00
parent 32834a7412
commit daf0b0142d
1 changed files with 2 additions and 0 deletions

View File

@ -4650,6 +4650,8 @@
$headline_row["comments_count"] = (int)$line["num_comments"];
$headline_row["comments_link"] = $line["comments"];
$headline_row["always_display_attachments"] = sql_bool_to_bool($line["always_display_enclosures"]);
array_push($headlines, $headline_row);
}