2
0
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:
azammitdcarf
2011-09-08 02:22:06 +00:00
parent eaa9578ab8
commit 16065571f9

View File

@@ -52,6 +52,15 @@ include("functions/functions.operator.php");
$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);
$btext = false;