mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added "No operator" in status screen when not logged in
This commit is contained in:
@@ -52,6 +52,15 @@ include("functions/functions.operator.php");
|
|||||||
|
|
||||||
|
|
||||||
$operator_id = get_operator_id();
|
$operator_id = get_operator_id();
|
||||||
|
|
||||||
|
if ($operator_id == false)
|
||||||
|
{
|
||||||
|
xhtml_head(T_("Status"));
|
||||||
|
print "<p>" . T_("No operator") . "</p>";
|
||||||
|
xhtml_foot();
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
|
||||||
$state = is_on_call($operator_id);
|
$state = is_on_call($operator_id);
|
||||||
$btext = false;
|
$btext = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user