From: Jeffery To Date: Thu, 8 Oct 2009 04:49:30 +0000 (+0800) Subject: Don't show search suggestions for private sites X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=daaa1d47908eba0d7b579222bd82994cb4fa01fb;p=quix0rs-gnu-social.git Don't show search suggestions for private sites --- diff --git a/lib/searchaction.php b/lib/searchaction.php index 0d9f85a8f1..130b28ff52 100644 --- a/lib/searchaction.php +++ b/lib/searchaction.php @@ -135,16 +135,21 @@ class SearchAction extends Action } function searchSuggestions($q) { - $qe = urlencode($q); - $message = sprintf(_(<<elementStart('dl', array('id' => 'help_search', 'class' => 'help')); $this->element('dt', null, _('Search help')); $this->elementStart('dd', 'instructions');