1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:45:56 +00:00

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

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);
}