From 5b627f39e715834b587e55525137c2fb24014eec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Wed, 1 Aug 2018 20:46:40 +0200 Subject: [PATCH] Fix cleanup issue See #2508 --- com.woltlab.wcf/templates/headIncludeJavaScript.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl index 03716c9b38..043b58d55e 100644 --- a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl +++ b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl @@ -135,8 +135,7 @@ requirejs.config({ styleChanger: {if $__wcf->getStyleHandler()->showStyleChanger()}true{else}false{/if} }); -User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}', {if $__wcf->user->userID}'{@$__wcf->user->getLink()|encodeJS}'; - {else}'';{/if}) + User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}', {if $__wcf->user->userID}'{@$__wcf->user->getLink()|encodeJS}'{else}''{/if}); }); // prevent jQuery and other libraries from utilizing define() -- 2.20.1