mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
회원가입시 확장변수 라디오 타입 버그
설문조사 아이템 순서 order type 정의 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5995 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
297b65d79e
commit
1dd306d4db
9 changed files with 28 additions and 12 deletions
|
|
@ -170,18 +170,21 @@
|
|||
$args->required = Context::get('required');
|
||||
if(!in_array(strtoupper($args->required), array('Y','N'))) $args->required = 'N';
|
||||
$args->description = Context::get('description');
|
||||
$args->list_order = getNextSequence();
|
||||
|
||||
// 기본값의 정리
|
||||
if(in_array($args->column_type, array('checkbox','select')) && count($args->default_value) ) {
|
||||
if(in_array($args->column_type, array('checkbox','select','radio')) && count($args->default_value) ) {
|
||||
$args->default_value = serialize($args->default_value);
|
||||
} else {
|
||||
$args->default_value = '';
|
||||
}
|
||||
|
||||
// member_join_form_srl이 있으면 수정, 없으면 추가
|
||||
if(!$args->member_join_form_srl) $output = executeQuery('member.insertJoinForm', $args);
|
||||
else $output = executeQuery('member.updateJoinForm', $args);
|
||||
if(!$args->member_join_form_srl){
|
||||
$args->list_order = getNextSequence();
|
||||
$output = executeQuery('member.insertJoinForm', $args);
|
||||
}else{
|
||||
$output = executeQuery('member.updateJoinForm', $args);
|
||||
}
|
||||
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue