Update bridge_edit.php (#7642)

This commit is contained in:
Alex
2025-11-24 16:48:12 -07:00
committed by GitHub
parent c785656949
commit ee240a0822

View File

@@ -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']);