mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now. Fixed all errors, left most warnings.
This commit is contained in:
@@ -35,8 +35,7 @@ if (!empty($_POST['to'])) {
|
||||
if ($_SESSION['userlevel'] >= '5') {
|
||||
$sql = 'FROM syslog AS S';
|
||||
$sql .= ' WHERE '.$where;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$sql = 'FROM syslog AS S, devices_perms AS P ';
|
||||
$sql .= 'WHERE S.device_id = P.device_id AND P.user_id = ? AND ';
|
||||
$sql .= $where;
|
||||
|
||||
Reference in New Issue
Block a user