mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -52,7 +52,7 @@ if ($config['enable_pseudowires'] && $device['os_group'] == "ios")
|
||||
$sql = "SELECT * FROM pseudowires AS P, ports AS I, devices as D WHERE P.interface_id = I.interface_id AND I.device_id = D.device_id AND D.device_id = '".$device['device_id']."'";
|
||||
$query = mysql_query($sql);
|
||||
|
||||
while ($cpw = mysql_fetch_array($query))
|
||||
while ($cpw = mysql_fetch_assoc($query))
|
||||
{
|
||||
unset($exists);
|
||||
$i = 0;
|
||||
|
Reference in New Issue
Block a user