mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix error when $selected_var is null
This commit is contained in:
parent
782df3a42e
commit
d237d9aabb
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="default">{$lang->extra_vars_options}</label>
|
||||
<div class="x_controls">
|
||||
<textarea type="text" name="options" id="options">{implode("\n", $selected_var->getOptions())}</textarea>
|
||||
<textarea type="text" name="options" id="options">{$selected_var ? implode("\n", $selected_var->getOptions()) : ''}</textarea>
|
||||
<p class="x_help-block">{$lang->about_extra_vars_options}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue