mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:55:55 +00:00
api: add always_display_attachments to getHeadlines
This commit is contained in:
@@ -4650,6 +4650,8 @@
|
|||||||
$headline_row["comments_count"] = (int)$line["num_comments"];
|
$headline_row["comments_count"] = (int)$line["num_comments"];
|
||||||
$headline_row["comments_link"] = $line["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);
|
array_push($headlines, $headline_row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user