mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix #1507 error in PHP 8.0
This commit is contained in:
parent
78a88ce4e3
commit
7e54b3add5
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@
|
|||
|
||||
<block cond="$var->type == 'checkbox'">
|
||||
<block loop="$var->options => $key, $val">
|
||||
<label class="x_inline"><input type="checkbox" name="{$name}[]" value="{$key}" checked="checked"|cond="@in_array($key, $var->value)" /> {$val->val}</label>
|
||||
<label class="x_inline"><input type="checkbox" name="{$name}[]" value="{$key}" checked="checked"|cond="in_array($key, $var->value ?: [])" /> {$val->val}</label>
|
||||
</block>
|
||||
</block>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue