Ensure variables to exist

This commit is contained in:
markjcrane
2023-06-19 14:56:16 -06:00
parent aa4a959f1c
commit ec7a088099
2 changed files with 5 additions and 0 deletions

View File

@@ -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";