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;