2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed Bug: Operator extension not clearing correctly at end of work

This commit is contained in:
Adam Zammit
2014-07-14 11:47:43 +10:00
parent fd097b9bf1
commit cb884068a8

View File

@@ -51,10 +51,10 @@ if (isset($_GET['auto']))
print "<h1>" . T_("Work has ended. That is it") . "</h1>";
include_once("functions/functions.operator.php");
if (ALLOW_OPERATOR_EXTENSION_SELECT && VOIP_ENABLED)
{
//unassign extension
include_once("functions/functions.operator.php");
$operator_id = get_operator_id();
if (get_case_id($operator_id) == false && is_voip_enabled($operator_id))