fixed bug with not unsetting deleted status for ports

git-svn-id: http://www.observium.org/svn/observer/trunk@870 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-16 01:23:05 +00:00
parent 7462ce985c
commit cc5be54b71
2 changed files with 1 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ if($_GET['optc'] == thumbs) {
if($_GET['opta'] == "details" ) { $port_details = 1; }
echo("<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");
$i = "1";
$interface_query = mysql_query("select * from interfaces WHERE device_id = '$_GET[id]' AND deleted = '0' ORDER BY `ifIndex` ASC");
$interface_query = mysql_query("select * from interfaces WHERE device_id = '".$device['device_id']."' AND deleted = '0' ORDER BY `ifIndex` ASC");
while($interface = mysql_fetch_array($interface_query)) {
include("includes/print-interface.inc.php");
$i++;