Index: trunk/extensions/SemanticForms/specials/SF_CreateTemplate.php |
— | — | @@ -167,9 +167,7 @@ |
168 | 168 | continue; |
169 | 169 | list ( $field_field, $id ) = $var_elements; |
170 | 170 | if ( $field_field == 'name' && $id != 'starter' ) { |
171 | | - $field = SFTemplateField::create( $val, $wgRequest->getVal( 'label_' . $id ) ); |
172 | | - $field->semantic_property = $wgRequest->getVal( 'semantic_property_' . $id ); |
173 | | - $field->is_list = $wgRequest->getCheck( 'is_list_' . $id ); |
| 171 | + $field = SFTemplateField::create( $val, $wgRequest->getVal( 'label_' . $id ), $wgRequest->getVal( 'semantic_property_' . $id ), $wgRequest->getCheck( 'is_list_' . $id ) ); |
174 | 172 | $fields[] = $field; |
175 | 173 | } |
176 | 174 | } |