From 16065571f99162c5e50d82b0223cb6a5df22be71 Mon Sep 17 00:00:00 2001 From: azammitdcarf Date: Thu, 8 Sep 2011 02:22:06 +0000 Subject: [PATCH] Added "No operator" in status screen when not logged in --- status.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/status.php b/status.php index b56b1432..c110d7bd 100644 --- a/status.php +++ b/status.php @@ -52,6 +52,15 @@ include("functions/functions.operator.php"); $operator_id = get_operator_id(); + +if ($operator_id == false) +{ + xhtml_head(T_("Status")); + print "

" . T_("No operator") . "

"; + xhtml_foot(); + die(); +} + $state = is_on_call($operator_id); $btext = false;