testing
This commit is contained in:
@@ -211,8 +211,8 @@ class StructureHelper {
|
|||||||
foreach($structure->services as $service) {
|
foreach($structure->services as $service) {
|
||||||
$serv = new Service;
|
$serv = new Service;
|
||||||
$serv->sructure_id = $structure->structure_id;
|
$serv->sructure_id = $structure->structure_id;
|
||||||
$serv->name = $service['name'];
|
$serv->name = $service->name;
|
||||||
$serv->state = $service['state'];
|
$serv->state = $service->state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -284,8 +284,8 @@ class StructureHelper {
|
|||||||
foreach($structure->services as $service) {
|
foreach($structure->services as $service) {
|
||||||
$serv = new Service;
|
$serv = new Service;
|
||||||
$serv->sructure_id = $structure->structure_id;
|
$serv->sructure_id = $structure->structure_id;
|
||||||
$serv->name = $service['name'];
|
$serv->name = $service->name;
|
||||||
$serv->state = $service['state'];
|
$serv->state = $service->state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user