This commit is contained in:
2019-05-30 01:20:33 -05:00
parent 482c96f0f3
commit 378e00147e
2 changed files with 6 additions and 4 deletions

View File

@@ -63,14 +63,16 @@ class StructureHelper {
}
if(isset($structure->unanchors_at)) {
$struct->unanchors_at = $structure->unanchors_at;
}
}
//Save the database record
$struct->save();
//If we set the structure services to true, let's save the services
if($structure->services == true) {
$this->StorestructureServices($structure->services, $structure->structure_id);
}
//Save the database record
$struct->save();
}
public function UpdateExistingStructure($structure, $info, $solarName) {