Fixed setup issue
authorMarcel Werk <burntime@woltlab.com>
Mon, 20 May 2013 23:46:17 +0000 (01:46 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 20 May 2013 23:46:17 +0000 (01:46 +0200)
wcfsetup/install/files/acp/templates/header.tpl

index f6b6c98ce894d681da22e3cd7c149eb8e28ab748..aa044103cedc8b5f4181ca3a36e96611f2fc0569 100644 (file)
                                        <div class="layoutFluid clearfix">
                                                <ul class="userPanelItems">
                                                        <li id="userMenu" class="dropdown">
-                                                               <a class="dropdownToggle framed" data-toggle="userMenu">{@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(24)} {lang}wcf.user.userNote{/lang}</a>
+                                                               <a class="dropdownToggle framed" data-toggle="userMenu">{if PACKAGE_ID}{@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(24)} {/if}{lang}wcf.user.userNote{/lang}</a>
                                                                <ul class="dropdownMenu">
                                                                        {if PACKAGE_ID > 1}
                                                                                <li><a href="{@$__wcf->getPageMenu()->getLandingPage()->getLink()}">{lang}wcf.global.toLandingPage{/lang}</a></li>