]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
api: add always_display_attachments to getHeadlines
[tt-rss.git] / include / functions.php
index 44852a1979349126a3d57572e54015959e3385ea..446e474a4b8c92ba11b0e858225e4f858be61e10 100644 (file)
                                $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);
                        }