Index: trunk/extensions/SemanticForms/includes/SF_Utils.php |
— | — | @@ -365,9 +365,7 @@ |
366 | 366 | $store = smwfGetStore(); |
367 | 367 | $requestoptions = new SMWRequestOptions(); |
368 | 368 | $requestoptions->limit = $sfgMaxAutocompleteValues; |
369 | | - $property = SMWPropertyValue::makeProperty( $property_name ); |
370 | | - //$data_values = $store->getPropertyValues( null, $property, $requestoptions ); |
371 | | - $data_values = self::getSMWPropertyValues( $store, null, null, $property, $requestoptions ); |
| 369 | + $data_values = self::getSMWPropertyValues( $store, null, null, $property_name, $requestoptions ); |
372 | 370 | $values = array(); |
373 | 371 | foreach ( $data_values as $dv ) { |
374 | 372 | // getPropertyValues() gets many repeat values - we want |