Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_RDF.php |
— | — | @@ -67,7 +67,7 @@ |
68 | 68 | |
69 | 69 | switch ( $printreq->getMode() ) { |
70 | 70 | case SMWPrintRequest::PRINT_PROP: |
71 | | - $property = $printreq->getData(); |
| 71 | + $property = $printreq->getData()->getDataItem(); |
72 | 72 | break; |
73 | 73 | case SMWPrintRequest::PRINT_CATS: |
74 | 74 | $property = new SMWDIProperty( '_TYPE' ); |