diff --git a/html/pages/bills.inc.php b/html/pages/bills.inc.php index ae54227d9a..ef69e3738a 100644 --- a/html/pages/bills.inc.php +++ b/html/pages/bills.inc.php @@ -45,12 +45,12 @@ $pagetitle[] = "Billing"; echo(""); -if ($_GET['opta'] == "history") +if ($vars['view'] == "history") { include("pages/bills/search.inc.php"); include("pages/bills/pmonth.inc.php"); } -elseif ($_GET['opta'] == "add") +elseif ($vars['view'] == "add") { if (is_numeric($vars['port'])) { diff --git a/html/pages/bills/search.inc.php b/html/pages/bills/search.inc.php index 67432a5dd7..d2e073b467 100644 --- a/html/pages/bills/search.inc.php +++ b/html/pages/bills/search.inc.php @@ -37,18 +37,19 @@