Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -833,9 +833,7 @@ |
834 | 834 | $values = $sub_components[1]; |
835 | 835 | } elseif ( $sub_components[0] == 'values from property' ) { |
836 | 836 | $propertyName = $sub_components[1]; |
837 | | - $propValue = SMWPropertyValue::makeUserProperty( $propertyName ); |
838 | | - $isRelation = $propValue->getPropertyTypeID() == '_wpg'; |
839 | | - $possible_values = SFAutocompleteAPI::getAllValuesForProperty( $isRelation, $propertyName ); |
| 837 | + $possible_values = SFUtils::getAllValuesForProperty( $propertyName ); |
840 | 838 | } elseif ( $sub_components[0] == 'values from category' ) { |
841 | 839 | $category_name = ucfirst( $sub_components[1] ); |
842 | 840 | $possible_values = SFUtils::getAllPagesForCategory( $category_name, 10 ); |