@@ -169,13 +169,13 @@ discard block |
||
| 169 | 169 | // Iterate and create all fields |
| 170 | 170 | foreach ($fields as $field) { |
| 171 | 171 | |
| 172 | - $fieldInstance = $this->isFieldExists($field['Name'] . '_' . $prefix); |
|
| 172 | + $fieldInstance = $this->isFieldExists($field['Name'].'_'.$prefix); |
|
| 173 | 173 | |
| 174 | 174 | // If field not exists then create it |
| 175 | 175 | if (!$fieldInstance) { |
| 176 | 176 | // Create and add field to structure |
| 177 | 177 | $fieldInstance = $this->createField( |
| 178 | - $field['Name'] . '_' . $prefix, |
|
| 178 | + $field['Name'].'_'.$prefix, |
|
| 179 | 179 | $field['Description'], |
| 180 | 180 | $field['Type'], |
| 181 | 181 | // If it is the select type then add value |
@@ -361,8 +361,8 @@ discard block |
||
| 361 | 361 | // Set prefix of material |
| 362 | 362 | $prefix = 'Material of '; |
| 363 | 363 | $material = $this->createNestedMaterial( |
| 364 | - $prefix . $structure->Name, |
|
| 365 | - $prefix . $structure->Url |
|
| 364 | + $prefix.$structure->Name, |
|
| 365 | + $prefix.$structure->Url |
|
| 366 | 366 | ); |
| 367 | 367 | |
| 368 | 368 | $this->assignNestedMaterial($material, $structure); |