diff --git a/html/includes/billing.php b/html/includes/billing.php index 1c345f5f0..47ee7e531 100644 --- a/html/includes/billing.php +++ b/html/includes/billing.php @@ -174,7 +174,7 @@ echo(" -if($_GET['bill'] && billpermitted($_GET['id'])){ +if($_GET['bill'] && billpermitted($_GET['bill'])){ $bill_id = $_GET['bill']; printReport($bill_id); diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 865382849..bfb842214 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -116,10 +116,12 @@ if($errored) { echo("
Errored ($errored)
Traffic Bills
Customers
Traffic Bills
L2TP
Transit
Peering