mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix error when adding a new extra var
This commit is contained in:
parent
f29080bb62
commit
3ac26150d5
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@
|
||||||
<div class="x_control-group" data-invisible-types="file">
|
<div class="x_control-group" data-invisible-types="file">
|
||||||
<label class="x_control-label" for="default">{$lang->default_value}</label>
|
<label class="x_control-label" for="default">{$lang->default_value}</label>
|
||||||
<div class="x_controls">
|
<div class="x_controls">
|
||||||
<input type="text" name="default" id="default" value="{$selected_var->getDefaultValue()}" />
|
<input type="text" name="default" id="default" value="{$selected_var ? $selected_var->getDefaultValue() : ''}" />
|
||||||
<p class="x_help-block">{$lang->about_extra_vars_default_value}</p>
|
<p class="x_help-block">{$lang->about_extra_vars_default_value}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue