From cd6e0a920f4264036c8a28998ac9fb60e4609b9d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 30 Sep 2011 11:38:54 -0400 Subject: [PATCH] slightly better usergroups pagination --- actions/usergroups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }