aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-10 20:46:27 -0800
committerFriendika <info@friendika.com>2011-03-10 20:46:27 -0800
commit508636082ecc68f61e82770bb671932be2b353bc (patch)
tree73bf0796542ec2371eb3b6ec0b064d2efaab2ff5 /mod/search.php
parent439ee37f99a6029e1d689f3a0133ca3de25b593e (diff)
downloadvolse-hubzilla-508636082ecc68f61e82770bb671932be2b353bc.tar.gz
volse-hubzilla-508636082ecc68f61e82770bb671932be2b353bc.tar.bz2
volse-hubzilla-508636082ecc68f61e82770bb671932be2b353bc.zip
bogus 'no results' message on search page
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php9
1 files changed, 1 insertions, 8 deletions
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;