mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Ensure variables to exist
This commit is contained in:
@@ -57,6 +57,10 @@
|
||||
$row_style["0"] = "row_style0";
|
||||
$row_style["1"] = "row_style1";
|
||||
|
||||
//set default values
|
||||
if (!isset($_SESSION['limit']['extensions']['numeric'])) { $_SESSION['limit']['extensions']['numeric'] = 0; }
|
||||
if (!isset($_SESSION['limit']['destinations']['numeric'])) { $_SESSION['limit']['destinations']['numeric'] = 0; }
|
||||
|
||||
//caller id
|
||||
echo "<div class='hud_box'>\n";
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
}
|
||||
|
||||
//channel count
|
||||
$channels = '';
|
||||
$tr_link_channels = '';
|
||||
if (permission_exists('switch_channels') && $fp) {
|
||||
$tmp = event_socket_request($fp, 'api status');
|
||||
|
||||
Reference in New Issue
Block a user