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:
Alex
2023-06-02 17:01:15 -06:00
committed by GitHub
parent d5a4146c57
commit 93f85e6ea4
5 changed files with 34 additions and 9 deletions
@@ -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";