Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByProperty.php |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | $skin = $wgUser->getSkin(); |
103 | 103 | |
104 | 104 | if ('' == $this->propertystring) return wfMsg('smw_sbv_docu') . "\n"; |
105 | | - if (!$this->value->isValid() || ($this==null)) return wfMsg('smw_sbv_novalue', $skin->makeLinkObj($this->property, $this->property->getText())) . "\n"; |
| 105 | + if (($this->value==null) || !$this->value->isValid()) return wfMsg('smw_sbv_novalue', $skin->makeLinkObj($this->property, $this->property->getText())) . "\n"; |
106 | 106 | |
107 | 107 | $wgOut->setPagetitle( $this->property->getText() . ' ' . $this->value->getShortHTMLText(null) ); |
108 | 108 | $html = ''; |