We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 699faed + dc489a7 commit 2786056Copy full SHA for 2786056
1 file changed
src/public/view.php
@@ -210,7 +210,11 @@
210
<tr>
211
<td><?php echo htmlentities(date("d/m/Y H:i:s", $data['timestamp']));?></td>
212
<td><?php echo htmlentities($data['extraData']);?></td>
213
- <td><a href="logview.php?t=<?php echo htmlentities($trigger['stringUrl']);?>&f=<?php echo htmlentities($data['logFilename'])."&d=".$data['timestamp'];?>">Log available</a></td>
+ <td>
214
+ <?php if ($data['logFilename'] != null): ?>
215
+ <a href="logview.php?t=<?php echo htmlentities($trigger['stringUrl']);?>&f=<?php echo htmlentities($data['logFilename'])."&d=".$data['timestamp'];?>">Log available</a>
216
+ <?php endif; ?>
217
+ </td>
218
</tr>
219
<?php endforeach; ?>
220
</tbody>
0 commit comments