mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Scrutinizer issues fixed
This commit is contained in:
@@ -49,6 +49,7 @@ echo('</select></td>');
|
||||
$rulei=1;
|
||||
$count_query = "SELECT COUNT(id)";
|
||||
$full_query = "SELECT *";
|
||||
$param = array();
|
||||
if(isset($device['device_id']) && $device['device_id'] > 0) {
|
||||
$sql = 'WHERE (device_id=? OR device_id="-1")';
|
||||
$param = array($device['device_id']);
|
||||
|
Reference in New Issue
Block a user