mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-10 10:38:22 +00:00
Remove the default context from one more location.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user