From: Joshua Rüsweg Date: Wed, 1 Aug 2018 18:46:40 +0000 (+0200) Subject: Fix cleanup issue X-Git-Tag: 5.2.0_Alpha_1~364^2~101^2~41 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5b627f39e715834b587e55525137c2fb24014eec;p=GitHub%2FWoltLab%2FWCF.git Fix cleanup issue See #2508 --- 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()