From: Zach Copley Date: Wed, 13 Apr 2011 22:36:27 +0000 (-0700) Subject: Group directory - use correct constant X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=055d61ef7984f0e4f4ff1b739954f359e2553518;p=quix0rs-gnu-social.git Group directory - use correct constant --- diff --git a/plugins/Directory/actions/groupdirectory.php b/plugins/Directory/actions/groupdirectory.php index f7c560b286..04454122e0 100644 --- a/plugins/Directory/actions/groupdirectory.php +++ b/plugins/Directory/actions/groupdirectory.php @@ -125,7 +125,7 @@ interests. After you join a group you can send messages to all other members using the syntax "!groupname". Browse groups, or search for groups on by their name, location or topic. -Separate the terms by spaces; they must be 3 characters or more. +Separate the terms by spaces; they must be three characters or more. Don't see a group you like? [start your own](%%action.newgroup%%)! END_OF_INSTRUCTIONS; @@ -286,8 +286,8 @@ END_OF_INSTRUCTIONS; { $group = new User_group(); - $offset = ($this->page-1) * GROUPS_PER_PAGE; - $limit = GROUPS_PER_PAGE + 1; + $offset = ($this->page-1) * PROFILES_PER_PAGE; + $limit = PROFILES_PER_PAGE + 1; if (isset($this->q)) {