Merge branch 'discussion_view' into develop

pull/9303/head
iglocska 2023-09-22 14:15:08 +02:00
commit 95bcaf54c2
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<div class="threads view">
<h3><?php
if (isset($event_id)) {
echo '<a href="' . $baseurl . '/events/view/' . $event_id . '">' . h($thread['Thread']['title']) . '</a>';
if (isset($thread['Thread']['event_id']) && $thread['Thread']['event_id']) {
echo '<a href="' . $baseurl . '/events/view/' . h($thread['Thread']['event_id']) . '">' . h($thread['Thread']['title']) . '</a>';
} else {
echo h($thread['Thread']['title']);
}