Skip to content
Snippets Groups Projects
Commit aafcd063 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Add clickable URLs to ticket thread view

parent 709312f0
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ if($ticket->getThreadCount() && ($thread=$ticket->getClientThread())) {
<span><?php echo $poster; ?></span>
</div>
</th></tr>
<tr><td class="thread-body"><div><?php echo $entry['body']->toHtml(); ?></div></td></tr>
<tr><td class="thread-body"><div><?php echo Format::clickableurls($entry['body']->toHtml()); ?></div></td></tr>
<?php
if($entry['attachments']
&& ($tentry=$ticket->getThreadEntry($entry['id']))
......
......@@ -406,7 +406,7 @@ $tcount+= $ticket->getNumNotes();
</tr>
<tr><td colspan="4" class="thread-body" id="thread-id-<?php
echo $entry['id']; ?>"><div><?php
echo $entry['body']->toHtml(); ?></div></td></tr>
echo Format::clickableurls($entry['body']->toHtml()); ?></div></td></tr>
<?php
if($entry['attachments']
&& ($tentry = $ticket->getThreadEntry($entry['id']))
......
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