From f5c0bcb765ae2c752da16663dfba77453fe47027 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 28 Jun 2013 18:19:28 +0200 Subject: [PATCH] Fixed check for available smilies --- com.woltlab.wcf/templates/wysiwygToolbar.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.20.1