Skip to content
Snippets Groups Projects
Commit e36f43d2 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

xml-rpc: getCategories() - return unread article count (closes #260)

parent 2e58d4e5
No related branches found
No related tags found
No related merge requests found
......@@ -93,12 +93,13 @@
while ($line = db_fetch_assoc($result)) {
$unread = getFeedUnread($link, $line["id"]);
$unread = getFeedUnread($link, $line["id"], true);
$line_struct = new xmlrpcval(
array(
"title" => new xmlrpcval($line["title"]),
"id" => new xmlrpcval($line["id"], "int")
"id" => new xmlrpcval($line["id"], "int"),
"unread" => new xmlrpcval($unread, "int")
),
"struct");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment