mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Fix coding style part 2
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
<?php
|
||||
|
||||
// FIXME - wtfbbq
|
||||
|
||||
if ($_SESSION['userlevel'] >= "5" || $auth)
|
||||
{
|
||||
$id = mres($vars['id']);
|
||||
$title = generate_device_link($device);
|
||||
$auth = TRUE;
|
||||
if ($_SESSION['userlevel'] >= '5' || $auth) {
|
||||
$id = mres($vars['id']);
|
||||
$title = generate_device_link($device);
|
||||
$auth = true;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user