mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#116, fix a bug
This commit is contained in:
parent
de0da3a2de
commit
7d1d1f1826
1 changed files with 3 additions and 5 deletions
|
|
@ -588,11 +588,9 @@ class layoutModel extends layout
|
|||
|
||||
$options = $var->options;
|
||||
if(!$options) continue;
|
||||
if(!is_array($options))
|
||||
{
|
||||
$options = array($options);
|
||||
$buff[] = sprintf('$layout_info->extra_var->%s->options = array();', $var->attrs->name);
|
||||
}
|
||||
if(!is_array($options)) $options = array($options);
|
||||
|
||||
$buff[] = sprintf('$layout_info->extra_var->%s->options = array();', $var->attrs->name);
|
||||
$options_count = count($options);
|
||||
$thumbnail_exist = false;
|
||||
for($j=0; $j < $options_count; $j++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue