mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +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;
|
$options = $var->options;
|
||||||
if(!$options) continue;
|
if(!$options) continue;
|
||||||
if(!is_array($options))
|
if(!is_array($options)) $options = array($options);
|
||||||
{
|
|
||||||
$options = array($options);
|
$buff[] = sprintf('$layout_info->extra_var->%s->options = array();', $var->attrs->name);
|
||||||
$buff[] = sprintf('$layout_info->extra_var->%s->options = array();', $var->attrs->name);
|
|
||||||
}
|
|
||||||
$options_count = count($options);
|
$options_count = count($options);
|
||||||
$thumbnail_exist = false;
|
$thumbnail_exist = false;
|
||||||
for($j=0; $j < $options_count; $j++)
|
for($j=0; $j < $options_count; $j++)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue