summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-03 16:26:45 +0300
committerAndrew Dolgov <[email protected]>2009-02-03 16:26:45 +0300
commitfe8f2f0c0df5f271feb9d48512b784c5968335dd (patch)
tree226fbe42d73349751735b84d81ec4da86c711b41 /modules
parent6a1cd59192bf4319b90319f7d623fae9011728ff (diff)
article download fixes
Diffstat (limited to 'modules')
-rw-r--r--modules/backend-rpc.php4
-rw-r--r--modules/popup-dialog.php3
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 53635f966..751934f35 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -568,6 +568,10 @@
while ($line = db_fetch_assoc($result)) {
print "<article><![CDATA[";
+
+ $line["marked"] = (int)sql_bool_to_bool($line["marked"]);
+ $line["unread"] = (int)sql_bool_to_bool($line["unread"]);
+
print json_encode($line);
print "]]></article>";
}
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index e62f84e9c..d7e786684 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -474,7 +474,8 @@
$amount = array(
50 => 50,
100 => 100,
- 250 => 250);
+ 250 => 250,
+ 500 => 500);
print_select_hash("amount", 50, $amount);