git-svn-id: http://www.observium.org/svn/observer/trunk@79 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2007-04-09 01:01:48 +00:00
parent 3589f41fea
commit 3d4956ce08
4 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ while ($interface = mysql_fetch_array($interface_query)) {
if ($update) {
$update_query = "UPDATE `interfaces` SET ";
$update_query .= $update;
$update_query .= " WHERE `id` = '" . $interface['interface_id'] . "'";
$update_query .= " WHERE `interface_id` = '" . $interface['interface_id'] . "'";
echo("Updating : " . $device['hostname'] . " $ifDescr\nSQL :$update_query\n\n");
$update_result = mysql_query($update_query);
} else {