Fixed use of encodeJS
authorAlexander Ebert <ebert@woltlab.com>
Tue, 23 Aug 2011 15:55:48 +0000 (17:55 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 23 Aug 2011 15:55:48 +0000 (17:55 +0200)
com.woltlab.wcf/templates/headInclude.tpl

index daf418b2f6b2b5a38b32f70e5ac323ea161c5561..8f1a73117e31b85af21883547257bad0b4759a78 100644 (file)
@@ -16,6 +16,6 @@
 <script type="text/javascript" src="{@RELATIVE_WCF_DIR}js/WCF.js"></script>
 <script type="text/javascript">
        //<![CDATA[
-       WCF.User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodejs}');
+       WCF.User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
        //]]>
 </script>