From 9b50dcc3844c7b636046b80c2b1f72b69afb7308 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 17:56:32 -0400 Subject: [PATCH] show p.error when there are no results. darcs-hash:20080709215632-84dde-fc2270bcebc64e3a616e681868f44bff26f7540e.gz --- actions/peoplesearch.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php index cf79e52e98..8f071e715d 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,