aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-03-13 11:37:24 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-03-13 11:37:24 +0100
commita2ee5ebe427522228dc03dc81da11f348a399c4d (patch)
tree8bffe9c8c9abe370523816f7742e6e26364fa5b5 /mod/search.php
parent8fea19dd38cf9c43bb6f6fa1a4f349555cbe90f8 (diff)
parenta912a0d3cae0ae9c873dcb5c45624a725bd2c2d6 (diff)
downloadvolse-hubzilla-a2ee5ebe427522228dc03dc81da11f348a399c4d.tar.gz
volse-hubzilla-a2ee5ebe427522228dc03dc81da11f348a399c4d.tar.bz2
volse-hubzilla-a2ee5ebe427522228dc03dc81da11f348a399c4d.zip
Merge branch 'master' of git://github.com/friendika/friendika
Conflicts: addon/twitter/twitter.php
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;