slightly better usergroups pagination

This commit is contained in:
Evan Prodromou 2011-09-30 11:38:54 -04:00
parent d07780b478
commit cd6e0a920f

View 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;
}