mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixing scrutinizer issue
This commit is contained in:
@@ -7,7 +7,7 @@ if ($device['os'] == "apc") {
|
||||
}
|
||||
|
||||
// Try High-Precision First
|
||||
if ($oids) {
|
||||
if (!empty($oids)) {
|
||||
echo("APC UPS Battery Charge High Precision");
|
||||
$type = "apc";
|
||||
list($oid,$current) = explode(' ',$oids);
|
||||
@@ -30,7 +30,7 @@ if ($device['os'] == "apc") {
|
||||
echo($oids."\n");
|
||||
}
|
||||
|
||||
if ($oids) {
|
||||
if (!empty($oids)) {
|
||||
echo("APC UPS Battery Charge");
|
||||
$type = "apc";
|
||||
list($oid,$current) = explode(' ',$oids);
|
||||
|
||||
Reference in New Issue
Block a user