mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
mid_list type을 array로 반환
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3366 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
61f645a0c5
commit
10bde701db
1 changed files with 2 additions and 1 deletions
|
|
@ -130,7 +130,8 @@
|
|||
$obj->type = $val->type->body;
|
||||
$obj->description = $val->description->body;
|
||||
$obj->value = $extra_vals->{$obj->name};
|
||||
if(strpos($obj->value, '|@|') != 0) { $obj->value = explode('|@|', $obj->value); }
|
||||
if(strpos($obj->value, '|@|') != false) { $obj->value = explode('|@|', $obj->value); }
|
||||
if($obj->type == 'mid_list' && !is_array($obj->value)) { $obj->value = array($obj->value); }
|
||||
|
||||
// 'select'type에서 option목록을 구한다.
|
||||
if(is_array($val->options)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue