mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Gateway Edit: Fix default values (#7542)
This commit is contained in:
@@ -332,6 +332,12 @@
|
||||
if (empty($profile)) { $profile = ''; }
|
||||
if (empty($hostname)) { $hostname = ''; }
|
||||
if (empty($description)) { $description = ''; }
|
||||
if ($register === null) { $register = true; }
|
||||
if ($distinct_to === null) { $distinct_to = false; }
|
||||
if ($caller_id_in_from === null) { $caller_id_in_from = false; }
|
||||
if ($supress_cng === null) { $supress_cng = false; }
|
||||
if ($contact_in_ping === null) { $contact_in_ping = true; }
|
||||
if ($enabled === null) { $enabled = true; }
|
||||
|
||||
//create token
|
||||
$object = new token;
|
||||
@@ -917,4 +923,4 @@
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user