mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
array check
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9969 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0d4d9514ee
commit
3a4021be5c
1 changed files with 20 additions and 15 deletions
|
|
@ -1446,8 +1446,12 @@
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
function unserializeAttributes($module_filebox_list){
|
function unserializeAttributes($module_filebox_list)
|
||||||
foreach($module_filebox_list->data as $item){
|
{
|
||||||
|
if(is_array($module_filebox_list))
|
||||||
|
{
|
||||||
|
foreach($module_filebox_list->data as $item)
|
||||||
|
{
|
||||||
$attributes = explode(';', $item->comment);
|
$attributes = explode(';', $item->comment);
|
||||||
foreach($attributes as $attribute){
|
foreach($attributes as $attribute){
|
||||||
$values = explode(':', $attribute);
|
$values = explode(':', $attribute);
|
||||||
|
|
@ -1461,6 +1465,7 @@
|
||||||
$item->attributes = $atts;
|
$item->attributes = $atts;
|
||||||
unset($atts);
|
unset($atts);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return $module_filebox_list;
|
return $module_filebox_list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue