aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2025-06-27 12:08:11 +0200
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-06-27 12:31:37 +0200
commit46194bf6a138ba1531317a433518d7671229adf3 (patch)
treef853fb5a69928ab34760dde809b4a533cc7d0fa6
parent56812c9c775cd2179c58e8d304f093ca9770e8a1 (diff)
use correct forum permission, fixes #5431
Closes #5431 Merge request studip/studip!4304
-rw-r--r--app/views/course/forum/index/_threads.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/course/forum/index/_threads.php b/app/views/course/forum/index/_threads.php
index af75fea..34a64d7 100644
--- a/app/views/course/forum/index/_threads.php
+++ b/app/views/course/forum/index/_threads.php
@@ -154,7 +154,7 @@
)
->conditionAll(null)
// Delete thread
- ->condition(ForumPerm::has('remove_thread', $seminar_id))
+ ->condition(ForumPerm::has('remove_entry', $seminar_id))
->addButton(
'delete',
_('Dieses Thema löschen'),