fix: actually link the paste in the non-js archive

This commit is contained in:
Floorb 2023-06-01 15:32:09 -04:00
parent 1b1a3795e4
commit 75d6160083

View file

@ -93,7 +93,7 @@
<tbody>
<?php foreach ($pastes as $paste): ?>
<tr>
<td><?= pp_html_escape($paste->title) ?></td>
<td><a href="<?= urlForPaste($paste); ?>"><?= pp_html_escape($paste->title) ?></a></td>
<td><?= pp_html_escape($paste->user->username) ?></td>
<td><?= pp_html_escape($paste->updated_at ?? $paste->created_at) ?></td>
<td><?= tagsToHtml($paste->tags) ?></td>