Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php |
— | — | @@ -367,7 +367,7 @@ |
368 | 368 | if ( $this->linkAbsolute ) { |
369 | 369 | $t = Title::newFromText( $printRequest->getHTMLText( NULL ), SMW_NS_PROPERTY ); |
370 | 370 | |
371 | | - if ( $t->exists() ) { |
| 371 | + if ( $t instanceof Title && $t->exists() ) { |
372 | 372 | $propertyName = $propertyName = Html::element( |
373 | 373 | 'a', |
374 | 374 | array( 'href' => $t->getFullUrl() ), |