mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* massive inlines * fix style and wtf * remove rrdtool.inc.php include * fix CommonFunctions namespace issues * looking for missing class space, fix undefined class issues * style fixes
9 lines
234 B
PHP
9 lines
234 B
PHP
<?php
|
|
|
|
// Authorises bill viewing
|
|
if (is_numeric($vars['id']) && ($auth || bill_permitted($vars['id']))) {
|
|
$bill_id = $vars['id'];
|
|
$bill = dbFetchRow('SELECT * FROM `bills` WHERE bill_id = ?', [$bill_id]);
|
|
$auth = true;
|
|
}
|