Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | protected function initParameters() { |
21 | 21 | global $smwgPropertyPagingLimit; |
22 | 22 | $this->limit = $smwgPropertyPagingLimit; |
23 | | - $this->mProperty = new SMWDIProperty( $this->mTitle->getDBkey(), false ); |
| 23 | + $this->mProperty = SMWDIProperty::newFromUserLabel( $this->mTitle->getText() ); |
24 | 24 | return true; |
25 | 25 | } |
26 | 26 | |