From daf0b0142dc264d784c5859ef6f370d9b3b21f13 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Oct 2012 16:36:03 +0400 Subject: [PATCH] api: add always_display_attachments to getHeadlines --- include/functions.php | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.5