Ensure variables to exist
This commit is contained in:
parent
aa4a959f1c
commit
ec7a088099
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue