bogus 'no results' message on search page
This commit is contained in:
parent
439ee37f99
commit
508636082e
3 changed files with 3 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue