From fe79cfe094c9f7f20bd8e3109b1bd3003a85f9bf Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 28 May 2009 16:17:22 +0000 Subject: Fixed some typos in group search git-svn-id: https://code.elgg.org/elgg/trunk@3313 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/group.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/lib/group.php b/engine/lib/group.php index f7face866..1303f0a2a 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -829,9 +829,9 @@ } /** - * Searches for a user based on a complete or partial name or username. + * Searches for a group based on a complete or partial name or description * - * @param string $criteria The partial or full name or username. + * @param string $criteria The partial or full name or description * @param int $limit Limit of the search. * @param int $offset Offset. * @param string $order_by The order. @@ -911,7 +911,7 @@ $offset = (int) get_input('offset'); $limit = (int) $limit; - $count = (int) search_for_user($tag, 10, 0, '', true); + $count = (int) search_for_group($tag, 10, 0, '', true); $entities = search_for_group($tag, $limit, $offset); return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, false); -- cgit v1.2.3