php 8.1 changes (#6741)
* Update dashboard_edit.php * Update dashboard_edit.php * Update dialplan_inbound_add.php * Update dialplan_outbound_add.php * Update dialplan_inbound_add.php * Update modules.php * Update sip_profile_edit.php
This commit is contained in:
@@ -48,10 +48,15 @@
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//set the defaults
|
||||
$dialplan_name = '';
|
||||
$dialplan_description = '';
|
||||
$limit = '';
|
||||
|
||||
//get the http get values and set them as php variables
|
||||
$order_by = $_GET["order_by"];
|
||||
$order = $_GET["order"];
|
||||
$action = $_GET["action"];
|
||||
$order_by = $_GET["order_by"] ?? '';
|
||||
$order = $_GET["order"] ?? '';
|
||||
$action = $_GET["action"] ?? '';
|
||||
|
||||
//initialize the destinations object
|
||||
$destination = new destinations;
|
||||
@@ -710,7 +715,7 @@
|
||||
}
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo $destination->select('dialplan', 'action_1', $action_1);
|
||||
echo $destination->select('dialplan', 'action_1', $action_1 ?? null);
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user