Index: trunk/extensions/SemanticMediaWiki/includes/SMW_PageSchemas.php |
— | — | @@ -89,7 +89,6 @@ |
90 | 90 | function getFieldHTML( $field, &$text_extensions ) { |
91 | 91 | global $smwgContLang; |
92 | 92 | |
93 | | - $datatype_labels = $smwgContLang->getDatatypeLabels(); |
94 | 93 | $prop_array = array(); |
95 | 94 | $hasExistingValues = false; |
96 | 95 | if ( !is_null( $field ) ) { |
— | — | @@ -112,6 +111,7 @@ |
113 | 112 | $propType = null; |
114 | 113 | } |
115 | 114 | $select_body = ""; |
| 115 | + $datatype_labels = $smwgContLang->getDatatypeLabels(); |
116 | 116 | foreach ( $datatype_labels as $label ) { |
117 | 117 | $optionAttrs = array(); |
118 | 118 | if ( $label == $propType) { |