From cc97f36b8c9a9522636d5b50fbcd2f52de06a01a Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Sat, 14 Sep 2024 19:28:40 +0200
Subject: Add warning for logged out users when clicking attachment
---
src/application/views/view_post.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'src/application/views/view_post.php')
diff --git a/src/application/views/view_post.php b/src/application/views/view_post.php
index 26eec62..a7624ae 100644
--- a/src/application/views/view_post.php
+++ b/src/application/views/view_post.php
@@ -101,7 +101,7 @@ $your_are_the_author = $GLOBALS["currentUser"]?->id === $postAuthor?->id;
-
+
@@ -116,7 +116,7 @@ $your_are_the_author = $GLOBALS["currentUser"]?->id === $postAuthor?->id;
- = htmlentities($attachment->name) ?>
+ = htmlentities($attachment->name) ?>
--
cgit v1.2.3