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

Fixed bug: Unable to un-assign cases when cases in case queue and extensions set to automatically unassign

This commit is contained in:
Adam Zammit
2017-10-19 14:48:31 +11:00
parent 3322e2f48c
commit 1f3f1a0e9c
2 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ if (ALLOW_OPERATOR_EXTENSION_SELECT && VOIP_ENABLED)
//unassign extension
$operator_id = get_operator_id();
if (get_case_id($operator_id) == false && is_voip_enabled($operator_id))
if (get_case_id($operator_id,false) == false && is_voip_enabled($operator_id))
{
$sql = "UPDATE `extension`
SET current_operator_id = NULL