Added missing isset to prevent errors
authorAlexander Ebert <ebert@woltlab.com>
Tue, 26 Jul 2011 18:26:18 +0000 (20:26 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 26 Jul 2011 18:26:18 +0000 (20:26 +0200)
wcfsetup/install/files/acp/templates/optionTypeRadiobuttons.tpl

index 727083a1849b44a4ffbd78fa9451e292521eabe5..b22c22976a60d5357f03c5152d6d8c15938fa56b 100644 (file)
@@ -1,10 +1,10 @@
 <ul class="formOptionsLong">
        {foreach from=$selectOptions key=key item=selectOption}
                <li>
-                       <label><input {if $disableOptions[$key] || $enableOptions[$key]}class="enablesOptions" data-disableOptions="[ {@$disableOptions[$key]}]" data-enableOptions="[ {@$enableOptions[$key]}]" {/if}
+                       <label><input {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="enablesOptions" data-disableOptions="[ {@$disableOptions[$key]}]" data-enableOptions="[ {@$enableOptions[$key]}]" {/if}
                        type="radio" name="values[{$option->optionName}]" value="{$key}"
                        {if $value == $key} checked="checked"{/if} />
                        {lang}{@$selectOption}{/lang}</label>
                </li>
        {/foreach}
-</ul>
\ No newline at end of file
+</ul>