]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
slightly better usergroups pagination
authorEvan Prodromou <evan@status.net>
Fri, 30 Sep 2011 15:38:54 +0000 (11:38 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 30 Sep 2011 15:38:54 +0000 (11:38 -0400)
actions/usergroups.php

index 178a3586fdea7d473d77caf229039182992b1d32..9d5946b4841b1f401ae4ca89edfea0718093f24b 100644 (file)
@@ -104,7 +104,7 @@ class UsergroupsAction extends ProfileAction
             return false;
         }
 
-        $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+        $this->page = $this->trimmed('page', 1);
 
         return true;
     }