Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php |
— | — | @@ -528,7 +528,7 @@ |
529 | 529 | 'DISTINCT relation_title', |
530 | 530 | $sql, 'SMW::getInProperties', $this->getSQLOptions($requestoptions,'relation_title') ); |
531 | 531 | while($row = $db->fetchObject($res)) { |
532 | | - $result[] = Title::newFromText(SMW_NS_PROPERTY, $row->relation_title); |
| 532 | + $result[] = Title::makeTitle(SMW_NS_PROPERTY, $row->relation_title); |
533 | 533 | } |
534 | 534 | $db->freeResult($res); |
535 | 535 | } |