Commit f025ec6a authored by Gary Allan's avatar Gary Allan
Browse files

Bugfix: Update_subnet_discovery_scantime. Fixes #54

parent 56912109
......@@ -678,7 +678,7 @@ class phpipamAgent extends Common_functions {
* @return void
*/
private function update_subnet_discovery_scantime ($subnet_id) {
try { $this->Database->updateObject("subnets", array("id"=>$id, "lastDiscovery"=>$this->nowdate), "id"); }
try { $this->Database->updateObject("subnets", array("id"=>$subnet_id, "lastDiscovery"=>$this->nowdate), "id"); }
catch (Exception $e) {}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment