summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-10 16:36:03 +0400
committerAndrew Dolgov <[email protected]>2012-10-10 16:36:03 +0400
commitdaf0b0142dc264d784c5859ef6f370d9b3b21f13 (patch)
treeff0b4e3f07896f97d15c3bdf22763738138cb633 /include
parent32834a74125c4ad30ca9c47359ef74edb45476ca (diff)
api: add always_display_attachments to getHeadlines
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 44852a197..446e474a4 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);
}