mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
에디터 컴포넌트 등에서 extravars 항목 중 type이 설정되지 않은 경우에 대한 수정 (#1872)
에디터 컴포넌트 등의 설정 xml 에서 type이 설정되지 않은 경우 `text` 가 기본 값. https://github.com/rhymix/rhymix/issues/1871
This commit is contained in:
parent
7e82d37cfa
commit
21c176313f
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ abstract class BaseParser
|
|||
$item = new \stdClass;
|
||||
$item->group = $group_name;
|
||||
$item->name = trim($var['name']);
|
||||
$item->type = trim($var['type']);
|
||||
$item->type = trim($var['type']) ?: 'text';
|
||||
$item->title = self::_getChildrenByLang($var, 'title', $lang);
|
||||
$item->description = str_replace('\\n', "\n", self::_getChildrenByLang($var, 'description', $lang));
|
||||
$item->default = trim($var['default']) ?: null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue