From: Alexander Ebert Date: Fri, 28 Jun 2013 16:19:28 +0000 (+0200) Subject: Fixed check for available smilies X-Git-Tag: 2.0.0_Beta_5~118^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f5c0bcb765ae2c752da16663dfba77453fe47027;p=GitHub%2FWoltLab%2FWCF.git Fixed check for available smilies --- diff --git a/com.woltlab.wcf/templates/wysiwygToolbar.tpl b/com.woltlab.wcf/templates/wysiwygToolbar.tpl index 6c7583d7b4..cde0e1dbdc 100644 --- a/com.woltlab.wcf/templates/wysiwygToolbar.tpl +++ b/com.woltlab.wcf/templates/wysiwygToolbar.tpl @@ -60,7 +60,7 @@ var $other = [ ]; {if $__wcf->getBBCodeHandler()->isAvailableBBCode('table')} $other.push('Table'); {/if} -{if MODULE_SMILEY && $__wcf->getSession()->getPermission($permissionCanUseSmilies) && $smileyCategories|count} +{if MODULE_SMILEY && $__wcf->getSession()->getPermission($permissionCanUseSmilies) && $defaultSmilies|count} $other.push('Smiley'); {/if}