From 508636082ecc68f61e82770bb671932be2b353bc Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 10 Mar 2011 20:46:27 -0800 Subject: bogus 'no results' message on search page --- mod/search.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'mod/search.php') diff --git a/mod/search.php b/mod/search.php index 561bb6c62..db7279fb5 100644 --- a/mod/search.php +++ b/mod/search.php @@ -51,7 +51,7 @@ function search_content(&$a) { $a->set_pager_total($r[0]['total']); if(! $r[0]['total']) { - notice('No results.'); + notice( t('No results.') . EOL); return $o; } @@ -134,13 +134,6 @@ function search_content(&$a) { } } - - if(! $r[0]['total']) { - notice('No results.'); - return $o; - } - - $o .= paginate($a); return $o; -- cgit v1.2.3