diff options
author | Andrew Dolgov <[email protected]> | 2012-10-10 16:36:03 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-10-10 16:36:03 +0400 |
commit | daf0b0142dc264d784c5859ef6f370d9b3b21f13 (patch) | |
tree | ff0b4e3f07896f97d15c3bdf22763738138cb633 | |
parent | 32834a74125c4ad30ca9c47359ef74edb45476ca (diff) |
api: add always_display_attachments to getHeadlines
-rw-r--r-- | include/functions.php | 2 |
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); } |