mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
issue 2091, fixed a bug. Does not display text input on addon xml version < 0.2
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10847 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7f58148ac4
commit
6d1abe0497
1 changed files with 1 additions and 2 deletions
|
|
@ -274,12 +274,11 @@
|
|||
|
||||
foreach($extra_vars as $key => $val) {
|
||||
unset($obj);
|
||||
if(!$val->type->body) { $val->type->body = 'text'; }
|
||||
|
||||
$obj->group = $group->title->body;
|
||||
$obj->name = $val->attrs->name;
|
||||
$obj->title = $val->title->body;
|
||||
$obj->type = $val->type->body;
|
||||
$obj->type = $val->type->body ? $val->type->body : 'text';
|
||||
$obj->description = $val->description->body;
|
||||
$obj->value = $extra_vals->{$obj->name};
|
||||
if(strpos($obj->value, '|@|') != false) { $obj->value = explode('|@|', $obj->value); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue