mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 22:01:29 +00:00
fix background refresh being broken when no counter data is sent
This commit is contained in:
@@ -293,15 +293,13 @@
|
||||
|
||||
print "<rpc-reply>";
|
||||
|
||||
print "<counters><![CDATA[";
|
||||
|
||||
if ($global_unread_caller != $global_unread) {
|
||||
print "<counters><![CDATA[";
|
||||
$omode = $_REQUEST["omode"];
|
||||
print json_encode(getAllCounters($link, $omode));
|
||||
print "]]></counters>";
|
||||
}
|
||||
|
||||
print "]]></counters>";
|
||||
|
||||
print_runtime_info($link);
|
||||
|
||||
print "</rpc-reply>";
|
||||
|
||||
Reference in New Issue
Block a user