mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 18:33:49 +00:00
When disabling call forward do not remove the call forward destination number only disable it.
This commit is contained in:
@@ -91,7 +91,9 @@ include "root.php";
|
||||
//update the extension
|
||||
$sql = "update v_extensions set ";
|
||||
if (strlen($this->forward_all_destination) == 0 || $this->forward_all_enabled == "false") {
|
||||
$sql .= "forward_all_destination = null, ";
|
||||
if (strlen($this->forward_all_destination) == 0) {
|
||||
$sql .= "forward_all_destination = null, ";
|
||||
}
|
||||
$sql .= "dial_string = null, ";
|
||||
$sql .= "forward_all_enabled = 'false' ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user