chg: [escaping] added to event ID

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

View File

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