diff --git a/functions.js b/functions.js index 9a1652ce..c0ba5b34 100644 --- a/functions.js +++ b/functions.js @@ -562,11 +562,13 @@ function parse_counters_reply(transport, scheduled_call) { var counters = reply.getElementsByTagName("counters")[0]; - parse_counters(counters, scheduled_call); + if (counters) + parse_counters(counters, scheduled_call); var runtime_info = reply.getElementsByTagName("runtime-info")[0]; - parse_runtime_info(runtime_info); + if (runtime_info) + parse_runtime_info(runtime_info); if (feedsSortByUnread()) { resort_feedlist(); diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 228d45a7..5ff35b40 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -293,15 +293,13 @@ print ""; - print ""; } - print "]]>"; - print_runtime_info($link); print "";