mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
more warning cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@705 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
mysql_query($query);
|
||||
} else { echo("."); }
|
||||
}
|
||||
$storage_exists[] = $device[device_id]." $hrStorageIndex";
|
||||
$storage_exists[] = $device['device_id']." $hrStorageIndex";
|
||||
} else { echo("X"); };
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,7 @@ $query = mysql_query($sql);
|
||||
while ($store = mysql_fetch_array($query)) {
|
||||
unset($exists);
|
||||
$i = 0;
|
||||
while ($i < count($storage_exists) && !$exists) {
|
||||
while ($i < count($storage_exists) && !isset($exists)) {
|
||||
$thisstore = $store['host_id'] . " " . $store['hrStorageIndex'];
|
||||
if ($storage_exists[$i] == $thisstore) { $exists = 1; }
|
||||
$i++;
|
||||
|
||||
Reference in New Issue
Block a user