Ensure variables to exist
This commit is contained in:
@@ -57,6 +57,10 @@
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$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
|
//caller id
|
||||||
echo "<div class='hud_box'>\n";
|
echo "<div class='hud_box'>\n";
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//channel count
|
//channel count
|
||||||
|
$channels = '';
|
||||||
$tr_link_channels = '';
|
$tr_link_channels = '';
|
||||||
if (permission_exists('switch_channels') && $fp) {
|
if (permission_exists('switch_channels') && $fp) {
|
||||||
$tmp = event_socket_request($fp, 'api status');
|
$tmp = event_socket_request($fp, 'api status');
|
||||||
|
|||||||
Reference in New Issue
Block a user