Fixed empty element in quick reply
authorMarcel Werk <burntime@woltlab.com>
Sun, 23 Apr 2017 10:43:41 +0000 (12:43 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 23 Apr 2017 10:43:51 +0000 (12:43 +0200)
com.woltlab.wcf/templates/messageSidebar.tpl

index 0a4385c20a7568b228658f5385298555995065f8..afb00c036a1555b51374a36e4f74ae0112c6eb7b 100644 (file)
@@ -41,7 +41,9 @@
                        {/if}
                {else}
                        <div class="messageAuthorContainer">
-                               <span class="username"{if $enableMicrodata} itemprop="name"{/if}>{$userProfile->username}</span>
+                               {if $userProfile->username}
+                                       <span class="username"{if $enableMicrodata} itemprop="name"{/if}>{$userProfile->username}</span>
+                               {/if}
                                
                                {event name='messageAuthorContainer'}
                        </div>