Message with the content "0" led to empty entries in recent activities
authorMarcel Werk <burntime@woltlab.com>
Mon, 22 Jun 2020 22:02:56 +0000 (00:02 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 22 Jun 2020 22:02:56 +0000 (00:02 +0200)
com.woltlab.wcf/templates/recentActivityListItem.tpl

index d824d03b3a2e1186783cc7308072c3eff8da1f9f..1051c0d676ca8320f42fa690aa4c765b1bd8b045 100644 (file)
@@ -13,7 +13,7 @@
                                        <small class="containerContentType">{lang}wcf.user.recentActivity.{@$event->getObjectTypeName()}{/lang}</small>
                                </div>
                                
-                               {if $event->getDescription()}
+                               {if $event->getDescription() !== ''}
                                        <div class="containerContent{if !$event->isRawHtml()} htmlContent{/if}">{@$event->getDescription()}</div>
                                {/if}
                        </div>