mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
addon 모듈 오류 수정
This commit is contained in:
parent
20915fd6dc
commit
cc57c76866
1 changed files with 8 additions and 0 deletions
|
|
@ -256,6 +256,14 @@ class addonAdminModel extends addon
|
||||||
foreach($extra_vars as $key => $val)
|
foreach($extra_vars as $key => $val)
|
||||||
{
|
{
|
||||||
$obj = new stdClass();
|
$obj = new stdClass();
|
||||||
|
if(!$val)
|
||||||
|
{
|
||||||
|
$val = new stdClass();
|
||||||
|
}
|
||||||
|
if(!$val->attrs)
|
||||||
|
{
|
||||||
|
$val->attrs = new stdClass();
|
||||||
|
}
|
||||||
if(!$val->attrs->type)
|
if(!$val->attrs->type)
|
||||||
{
|
{
|
||||||
$val->attrs->type = 'text';
|
$val->attrs->type = 'text';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue