mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update bridge_edit.php (#7642)
This commit is contained in:
@@ -49,7 +49,6 @@
|
|||||||
$bridge_uuid = '';
|
$bridge_uuid = '';
|
||||||
$bridge_name = '';
|
$bridge_name = '';
|
||||||
$bridge_destination = '';
|
$bridge_destination = '';
|
||||||
$bridge_enabled = '';
|
|
||||||
$bridge_description = '';
|
$bridge_description = '';
|
||||||
|
|
||||||
//get http post variables and set them to php variables
|
//get http post variables and set them to php variables
|
||||||
@@ -350,6 +349,9 @@
|
|||||||
$sip_profiles = $database->select($sql, null, 'all');
|
$sip_profiles = $database->select($sql, null, 'all');
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
//set the defaults
|
||||||
|
$bridge_enabled = $bridge_enabled ?? true;
|
||||||
|
|
||||||
//create token
|
//create token
|
||||||
$object = new token;
|
$object = new token;
|
||||||
$token = $object->create($_SERVER['PHP_SELF']);
|
$token = $object->create($_SERVER['PHP_SELF']);
|
||||||
|
|||||||
Reference in New Issue
Block a user