Index: trunk/extensions/SemanticForms/includes/SF_TemplateField.inc |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | if ($row = $db->fetchObject($res)) { |
54 | 54 | $this->field_type = $row->value_string; |
55 | 55 | // set possible values if it's an enumeration |
56 | | - if ($this->field_type == $smwgContLang->smwDatatypeLabels['smw_enum']) { |
| 56 | + if ($this->field_type == $smwgContLang->getDatatypeLabel('smw_enum')) { |
57 | 57 | $conditions = "subject_namespace = " . SMW_NS_ATTRIBUTE . |
58 | 58 | " AND subject_title = '$semantic_field_db_str' AND property_id = " . |
59 | 59 | SMW_SP_POSSIBLE_VALUE; |
— | — | @@ -85,7 +85,6 @@ |
86 | 86 | $text .= wfMsgForContent('sf_template_docufooter') . "\n"; |
87 | 87 | $text .=<<<END |
88 | 88 | </noinclude> |
89 | | - |
90 | 89 | <includeonly> |
91 | 90 | |
92 | 91 | END; |