Remove the default context from one more location.

This commit is contained in:
markjcrane
2015-12-08 22:32:11 -07:00
parent dbe698bbe7
commit 13fa07dfc7

View File

@@ -145,12 +145,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$dialplan_name = str_replace("/", "", $dialplan_name);
//set the context
if (count($_SESSION["domains"]) > 1) {
$context = 'default';
}
else {
$context = '$${domain_name}';
}
$context = '$${domain_name}';
//start the atomic transaction
$count = $db->exec("BEGIN;"); //returns affected rows