Update dialplan_add.php

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

View File

@ -80,7 +80,7 @@
}
//set the default
if (strlen($dialplan_context) == 0) { $dialplan_context = $_SESSION['context']; }
if (strlen($dialplan_context) == 0) { $dialplan_context = $_SESSION['domain_name']; }
//add or update data from http post
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {