Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.inc |
— | — | @@ -17,10 +17,10 @@ |
18 | 18 | $smw_version = SMW_VERSION; |
19 | 19 | if (version_compare(SMW_VERSION, '1.2', '>=' ) || |
20 | 20 | substr($smw_version, 0, 3) == '1.2') { // temporary hack |
21 | | - $names_array = sffGetAllPagesForProperty_1_2($field_name); |
| 21 | + $names_array = sffGetAllValuesForProperty_1_2($field_name); |
22 | 22 | } else { |
23 | 23 | $is_relation = ($autocomplete_field_type == 'relation'); |
24 | | - $names_array = sffGetAllPagesForProperty_orig($is_relation, $field_name); |
| 24 | + $names_array = sffGetAllValuesForProperty_orig($is_relation, $field_name); |
25 | 25 | } |
26 | 26 | } elseif ($autocomplete_field_type == 'category') { |
27 | 27 | $names_array = sffGetAllPagesForCategory($field_name, 10); |