Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | if (! in_array($field_name, $field_names_array)) { |
89 | 89 | $field_names_array[] = $field_name; |
90 | 90 | $template_field = SFTemplateField::newWithValues($field_name, ucfirst(strtolower($field_name))); |
91 | | - $template_field->setSemanticData($semantic_field_name, $is_relation); |
| 91 | + $template_field->setSemanticData($semantic_field_name, $is_relation, false); |
92 | 92 | $template_fields[] = $template_field; |
93 | 93 | } |
94 | 94 | } |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | if (! in_array($field_name, $field_names_array)) { |
105 | 105 | $field_names_array[] = $field_name; |
106 | 106 | $template_field = SFTemplateField::newWithValues($field_name, ucfirst(strtolower($field_name))); |
107 | | - $template_field->setSemanticData($semantic_field_name, $is_relation); |
| 107 | + $template_field->setSemanticData($semantic_field_name, $is_relation, true); |
108 | 108 | $template_fields[] = $template_field; |
109 | 109 | } |
110 | 110 | } |