本帖最后由 dongdong0925 于 2011-4-21 14:12 编辑
找到source\admincp\admincp_members.php文件,搜索下面的代码(1636行附近)
- $ucresult = uc_user_edit($member['username'], $_G['gp_passwordnew'], $_G['gp_passwordnew'], $_G['gp_emailnew'], 1, $questionid);
- if($ucresult <= 0) {
- if($ucresult == -4) {
- cpmsg('members_email_illegal', '', 'error');
- } elseif($ucresult == -5) {
- cpmsg('members_email_domain_illegal', '', 'error');
- } elseif($ucresult == -6) {
- cpmsg('members_email_duplicate', '', 'error');
- } else {
- cpmsg('undefined_action', '', 'error');
- }
- }
复制代码 将其中的
- } else {
- cpmsg('undefined_action', '', 'error');
复制代码 删掉。
|