mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
issue 2708, problem of join form
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12314 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
96c66ef733
commit
de7252ac48
5 changed files with 38 additions and 0 deletions
|
|
@ -514,6 +514,18 @@
|
|||
} else {
|
||||
$args->default_value = '';
|
||||
}
|
||||
|
||||
// Check ID duplicated
|
||||
$oMemberModel = &getModel('member');
|
||||
$config = $oMemberModel->getMemberConfig();
|
||||
foreach($config->signupForm as $item)
|
||||
{
|
||||
if($item->name == $args->column_name)
|
||||
{
|
||||
if($args->member_join_form_srl && $args->member_join_form_srl == $item->member_join_form_srl) continue;
|
||||
return new Object(-1,'msg_exists_user_id');
|
||||
}
|
||||
}
|
||||
// Fix if member_join_form_srl exists. Add if not exists.
|
||||
$isInsert;
|
||||
if(!$args->member_join_form_srl){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue