summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-09-12 13:38:57 +0400
committerAndrew Dolgov <[email protected]>2010-09-12 13:38:57 +0400
commit9ed133e7a97e4ad591df2557646519a2f451adf3 (patch)
tree03bb1a5b32918884d139a1611099f4c9cf908dfb /functions.php
parent46360a961b5aded1cedc651b45636506c303e30b (diff)
api: support published status in getHeadlines; digest: code cleanup
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index e53995335..2174460b4 100644
--- a/functions.php
+++ b/functions.php
@@ -6777,6 +6777,7 @@
"id" => (int)$line["id"],
"unread" => sql_bool_to_bool($line["unread"]),
"marked" => sql_bool_to_bool($line["marked"]),
+ "published" => sql_bool_to_bool($line["published"]),
"updated" => strtotime($line["updated"]),
"is_updated" => $is_updated,
"title" => $line["title"],