Merge pull request #1013 from moteus/issues_1008

Disable of sip profile does not work
This commit is contained in:
FusionPBX
2015-07-18 13:08:10 -07:00
2 changed files with 25 additions and 7 deletions

View File

@@ -161,6 +161,12 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//redirect the browser
$_SESSION["message"] = $text['message-update'];
header("Location: sip_profiles.php");
//save the sip profile xml
save_sip_profile_xml();
//apply settings reminder
$_SESSION["reload_xml"] = true;
return;
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)