Minahito
minah****@users*****
2006年 7月 13日 (木) 19:51:28 JST
Index: xoops2jp/html/modules/user/admin/forms/RanksFilterForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/RanksFilterForm.class.php:1.1.2.4 xoops2jp/html/modules/user/admin/forms/RanksFilterForm.class.php:1.1.2.5 --- xoops2jp/html/modules/user/admin/forms/RanksFilterForm.class.php:1.1.2.4 Wed Jul 12 19:50:47 2006 +++ xoops2jp/html/modules/user/admin/forms/RanksFilterForm.class.php Thu Jul 13 19:51:28 2006 @@ -1,7 +1,7 @@ <?php /** * @package legacyRender - * @version $Id: RanksFilterForm.class.php,v 1.1.2.4 2006/07/12 10:50:47 minahito Exp $ + * @version $Id: RanksFilterForm.class.php,v 1.1.2.5 2006/07/13 10:51:28 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -31,7 +31,7 @@ { $this->mSort = isset($_REQUEST['sort']) ? intval($_REQUEST['sort']) : RANKS_SORT_KEY_DEFAULT; - if (!isset($this->mSortKeys[$this->mSort])) { + if (!isset($this->mSortKeys[abs($this->mSort)])) { $this->mSort = RANKS_SORT_KEY_DEFAULT; }