diff --git a/app/Library/Structures/StructureHelper.php b/app/Library/Structures/StructureHelper.php index 2757c59d4..31ead7c09 100644 --- a/app/Library/Structures/StructureHelper.php +++ b/app/Library/Structures/StructureHelper.php @@ -161,7 +161,7 @@ class StructureHelper { //Update the structure id and name Structure::where(['structure_id' => $structure->structure_id])->update([ 'structure_id' => $structure->structure_id, - 'structure_name' => $info->name, + 'structure_name' => $structure->name, ]); //Update the services