Minahito
minah****@users*****
2006年 7月 13日 (木) 14:15:05 JST
Index: xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.4 --- xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.3 Wed Jul 12 19:50:48 2006 +++ xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php Thu Jul 13 14:15:05 2006 @@ -1,4 +1,8 @@ <?php +/** + * @package user + * @version $Id: RanksAdminEditForm.class.php,v 1.1.2.4 2006/07/13 05:15:05 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -58,8 +62,7 @@ function validateRank_max() { - die(); - if ($this->get('max') < $this->get('min')) { + if ($this->get('rank_max') < $this->get('rank_min')) { $this->addErrorMessage(_AD_USER_ERROR_INJURY_MIN_MAX); } }