Fixed check for available smilies
authorAlexander Ebert <ebert@woltlab.com>
Fri, 28 Jun 2013 16:19:28 +0000 (18:19 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 28 Jun 2013 16:19:28 +0000 (18:19 +0200)
com.woltlab.wcf/templates/wysiwygToolbar.tpl

index 6c7583d7b4cebd01178a9d1be0451bc895cbea4a..cde0e1dbdcad168e42d59189bb0ab37aad72b931 100644 (file)
@@ -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}