mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12117)
* Apply fixes from StyleCI * Disable style check
This commit is contained in:
@@ -8,19 +8,18 @@
|
||||
* @subpackage webinterface
|
||||
* @copyright (C) 2006 - 2012 Adam Armstrong
|
||||
*/
|
||||
|
||||
ini_set('allow_url_fopen', 0);
|
||||
|
||||
$init_modules = array('web', 'auth');
|
||||
$init_modules = ['web', 'auth'];
|
||||
require realpath(__DIR__ . '/..') . '/includes/init.php';
|
||||
|
||||
$urlargs = array(
|
||||
$urlargs = [
|
||||
'type' => 'bill_historictransfer',
|
||||
'id' => $_GET['bill_id'],
|
||||
'width' => $_GET['x'],
|
||||
'height' => $_GET['y'],
|
||||
'imgtype' => $_GET['type']
|
||||
);
|
||||
'imgtype' => $_GET['type'],
|
||||
];
|
||||
if (is_numeric($_GET['bill_hist_id'])) {
|
||||
$urlargs['bill_hist_id'] = $_GET['bill_hist_id'];
|
||||
} elseif (is_numeric($_GET['from']) && is_numeric($_GET['to'])) {
|
||||
|
Reference in New Issue
Block a user