diff --git a/app/dialplans/dialplan_add.php b/app/dialplans/dialplan_add.php index 57e3f957ea..6076daaf49 100644 --- a/app/dialplans/dialplan_add.php +++ b/app/dialplans/dialplan_add.php @@ -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) {