Skip to content

Commit

Permalink
Fixed a logic error in the removePorts method.
Browse files Browse the repository at this point in the history
  • Loading branch information
samilliken committed Jul 7, 2013
1 parent 5dda442 commit ef06d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,7 @@ static function removePorts($DeviceID){

DevicePorts::removeConnections($DeviceID);

$sql="DELETE FROM fac_Ports WHERE DeviceID=$this->DeviceID;";
$sql="DELETE FROM fac_Ports WHERE DeviceID=$dev->DeviceID;";

$dbh->exec($sql);

Expand Down

0 comments on commit ef06d61

Please sign in to comment.