]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Group directory - use correct constant
authorZach Copley <zach@status.net>
Wed, 13 Apr 2011 22:36:27 +0000 (15:36 -0700)
committerZach Copley <zach@status.net>
Wed, 13 Apr 2011 22:36:27 +0000 (15:36 -0700)
plugins/Directory/actions/groupdirectory.php

index f7c560b286af8ab2980ae2322dbe73ba8fd4ecb7..04454122e0f3ff086ece42a801bd704f69fbe7ce 100644 (file)
@@ -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.
 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;
 
 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();
 
     {
         $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)) {
 
 
         if (isset($this->q)) {