Commit c0052ef3 authored by yaleman's avatar yaleman
Browse files

fix for #29

parent 42ce6500
......@@ -635,7 +635,7 @@ class phpipamAgent extends Common_functions {
* @return void
*/
private function update_subnet_status_scantime ($subnet_id) {
try { $this->Database->updateObject("subnets", array("id"=>$id, "lastScan"=>$this->nowdate), "id"); }
try { $this->Database->updateObject("subnets", array("id"=>$subnet_id, "lastScan"=>$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