Update fifo_add.php

Change session context to domain_name.
This commit is contained in:
FusionPBX 2020-10-22 02:33:18 -06:00 committed by GitHub
parent e9b962a8e2
commit 281979721c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@
$queue_name = $extension_name."@\${domain_name}"; $queue_name = $extension_name."@\${domain_name}";
$app_uuid = '16589224-c876-aeb3-f59f-523a1c0801f7'; $app_uuid = '16589224-c876-aeb3-f59f-523a1c0801f7';
$dialplan_uuid = uuid(); $dialplan_uuid = uuid();
$dialplan_context = $_SESSION['context']; $dialplan_context = $_SESSION['domain_name'];
$domain_uuid = $_SESSION['domain_uuid']; $domain_uuid = $_SESSION['domain_uuid'];
$dialplan_detail_order = 0; $dialplan_detail_order = 0;
@ -406,7 +406,7 @@
//clear the cache //clear the cache
$cache = new cache; $cache = new cache;
$cache->delete("dialplan:".$_SESSION["context"]); $cache->delete("dialplan:".$_SESSION["domain_name"]);
//redirect the user //redirect the user
message::add($text['message-add']); message::add($text['message-add']);