aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/group.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-28 16:17:22 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-28 16:17:22 +0000
commitfe79cfe094c9f7f20bd8e3109b1bd3003a85f9bf (patch)
tree4200ace27bed5173a57b285647ef9a6427754566 /engine/lib/group.php
parentb7cbed649f17075ae1c4bbb4bb95c0cf76a50bc1 (diff)
downloadelgg-fe79cfe094c9f7f20bd8e3109b1bd3003a85f9bf.tar.gz
elgg-fe79cfe094c9f7f20bd8e3109b1bd3003a85f9bf.tar.bz2
Fixed some typos in group search
git-svn-id: https://code.elgg.org/elgg/trunk@3313 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/group.php')
-rw-r--r--engine/lib/group.php6
1 files 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);