Skip to content
Snippets Groups Projects
Commit 45a46460 authored by JediKev's avatar JediKev
Browse files

issue: Deleted Field Thread Events (template)

This addresses an issue introduced with `9ab2317e` where the icon for the
event still shows even though we continued and didn’t return the event
description.
parent 96892beb
No related branches found
No related tags found
Loading
<?php if ($desc = $event->getDescription(ThreadEvent::MODE_STAFF)) { ?>
<div class="thread-event <?php if ($event->uid) echo 'action'; ?>">
<span class="type-icon">
<i class="faded icon-<?php echo $event->getIcon(); ?>"></i>
</span>
<span class="faded description">
<?php echo $event->getDescription(ThreadEvent::MODE_STAFF); ?>
<?php echo $desc; ?>
</span>
</div>
<?php } ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment