From: Robert Stojnić Date: Mon, 15 Jun 2009 09:44:55 +0000 (+0000) Subject: Fix for r51574: did you mean.. links were broken, the original change seem to miss... X-Git-Tag: 1.31.0-rc.0~41373 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=93e9576a25e94b8ffe5d664b2744589406167ec4;p=lhc%2Fweb%2Fwiklou.git Fix for r51574: did you mean.. links were broken, the original change seem to miss this one.. --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 8d45c1ae63..aa126a981b 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -1080,7 +1080,7 @@ class SpecialSearchOld { $suggestionSnippet = $textMatches->getSuggestionSnippet(); - if( $suggestionSnippet ) + if( $suggestionSnippet == '' ) $suggestionSnippet = null; $suggestLink = $sk->linkKnown(