From: Evan Prodromou <evan@status.net>
Date: Fri, 30 Sep 2011 15:38:54 +0000 (-0400)
Subject: slightly better usergroups pagination
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd6e0a920f4264036c8a28998ac9fb60e4609b9d;p=quix0rs-gnu-social.git

slightly better usergroups pagination
---

diff --git a/actions/usergroups.php b/actions/usergroups.php
index 178a3586fd..9d5946b484 100644
--- a/actions/usergroups.php
+++ b/actions/usergroups.php
@@ -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;
     }