Index: trunk/extensions/SemanticForms/includes/SF_LinkUtils.inc |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | $create_pages_property = SMWPropertyValue::makeProperty('_SF_CP_BACKUP'); |
158 | 158 | $incoming_properties = $store->getInProperties($value); |
159 | 159 | foreach ($incoming_properties as $property) { |
160 | | - $property_name = SFUtils::getPropertyName($property); |
| 160 | + $property_name = $property->getWikiValue(); |
161 | 161 | $property_title = Title::makeTitleSafe(SMW_NS_PROPERTY, $property_name); |
162 | 162 | $res = $store->getPropertyValues($property_title, $create_pages_property); |
163 | 163 | if (count($res) > 0) { |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | $value = SMWDataValueFactory::newTypeIDValue('_wpg', $title_text); |
196 | 196 | $incoming_properties = $store->getInProperties($value); |
197 | 197 | foreach ($incoming_properties as $property) { |
198 | | - $property_title = SFUtils::getPropertyName($property); |
| 198 | + $property_title = $property->getWikiValue(); |
199 | 199 | if ($add_data_link = self::getAddDataLinkForPage($title, $property_title, SMW_NS_PROPERTY)) { |
200 | 200 | return $add_data_link; |
201 | 201 | } |