From: Andrew Dolgov Date: Wed, 10 Oct 2012 12:36:03 +0000 (+0400) Subject: api: add always_display_attachments to getHeadlines X-Git-Tag: 1.6.0~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=daf0b0142dc264d784c5859ef6f370d9b3b21f13;p=tt-rss.git api: add always_display_attachments to getHeadlines --- diff --git a/include/functions.php b/include/functions.php index 44852a19..446e474a 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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); }