Ignore signature setting if $showSignatureSetting is not defined
authorMatthias Schmidt <gravatronics@live.com>
Mon, 25 Aug 2014 16:18:08 +0000 (18:18 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 25 Aug 2014 16:18:08 +0000 (18:18 +0200)
com.woltlab.wcf/templates/messageFormSettings.tpl

index f7146dc5b3561af7dd4e2a0d05d51932f30b26ec..7f427ba9b03670b86271c5b0d1ce5dd6733a7b46 100644 (file)
@@ -28,7 +28,7 @@
                                <small>{lang}wcf.message.settings.enableHtml.description{/lang}</small>
                        </dd>
                {/if}
-               {if MODULE_USER_SIGNATURE && $showSignatureSetting && $__wcf->user->userID}
+               {if MODULE_USER_SIGNATURE && !$showSignatureSetting|empty && $__wcf->user->userID}
                        <dt></dt>
                        <dd>
                                <label><input id="showSignature" name="showSignature" type="checkbox" value="1"{if $showSignature} checked="checked"{/if} /> {lang}wcf.message.settings.showSignature{/lang}</label>