summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 17:56:32 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 17:56:32 -0400
commit9b50dcc3844c7b636046b80c2b1f72b69afb7308 (patch)
tree0111db81ed7137f4f1029f9447779a48b9b16e9f /actions
parent0ec918604a9082170ee1dc81907d86a479dac1b2 (diff)
show p.error when there are no results.
darcs-hash:20080709215632-84dde-fc2270bcebc64e3a616e681868f44bff26f7540e.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/peoplesearch.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php
index cf79e52e9..8f071e715 100644
--- a/actions/peoplesearch.php
+++ b/actions/peoplesearch.php
@@ -90,6 +90,8 @@ class PeoplesearchAction extends Action {
}
}
common_element_end('ul');
+ } else {
+ common_element('p', 'error', _t('No results'));
}
common_pagination($page > 1, $cnt > PROFILES_PER_PAGE,