diff --git a/html/user/server_status.php b/html/user/server_status.php index 4c04766679..eafc0591d2 100644 --- a/html/user/server_status.php +++ b/html/user/server_status.php @@ -256,10 +256,12 @@ function show_status_xml($x) { item_xml("name", $app->name); item_xml("unsent", $app->unsent); item_xml("in_progress", $app->in_progress); - item_xml("avg_runtime", $app->info->avg); - item_xml("min_runtime", $app->info->min); - item_xml("max_runtime", $app->info->max); - item_xml("users", $app->info->users); + if ($app->info) { + item_xml("avg_runtime", $app->info->avg); + item_xml("min_runtime", $app->info->min); + item_xml("max_runtime", $app->info->max); + item_xml("users", $app->info->users); + } echo "\n"; } echo "