]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed some typos in group search
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 28 May 2009 16:17:22 +0000 (16:17 +0000)
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 28 May 2009 16:17:22 +0000 (16:17 +0000)
git-svn-id: https://code.elgg.org/elgg/trunk@3313 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/group.php

index f7face866986144b4d487c4b11369f717a33a7e0..1303f0a2a8450109b8d28fe8f7968908081057b0 100644 (file)
        }
        
        /**
-        * 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.
                
                $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);