Minahito
minah****@users*****
2006年 2月 4日 (土) 03:13:10 JST
Index: xoops2jp/html/modules/user/actions/EditUserAction.class.php diff -u xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.5 xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.6 --- xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.5 Thu Jan 19 21:11:16 2006 +++ xoops2jp/html/modules/user/actions/EditUserAction.class.php Sat Feb 4 03:13:10 2006 @@ -48,6 +48,16 @@ $render->setAttribute("thisUser",$this->mObject); $render->setAttribute("currentUser",$xoopsUser); } + + function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem) + { + $controller->executeForward('./index.php?action=UserInfo&uid=' . $this->mObject->get('uid')); + } + + function executeViewError(&$controller,&$xoopsUser,&$renderSystem) + { + redirect_header(XOOPS_URL, 1, _MD_USER_ERROR_DBUPDATE_FAILED); + } } ?> \ No newline at end of file