diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2025-07-30 09:48:20 +0200 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2025-07-30 07:48:20 +0000 |
| commit | 8b5da1acae37d9bc983394c3f27508c24024d69b (patch) | |
| tree | 93360533b83eeff9f6c78e60cedadeb026bcad8e /lib/models/Forum/Category.php | |
| parent | d6ce47b2ea667524acafda4e539a81695158c07d (diff) | |
Resolve "Forum in freien Veranstaltungen sind nicht aufrufbar"issue-5760
Closes #5699
Merge request studip/studip!4371
Diffstat (limited to 'lib/models/Forum/Category.php')
| -rw-r--r-- | lib/models/Forum/Category.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/Forum/Category.php b/lib/models/Forum/Category.php index 73c96e1..6ee52c8 100644 --- a/lib/models/Forum/Category.php +++ b/lib/models/Forum/Category.php @@ -80,7 +80,7 @@ class Category extends \SimpleORMap WHERE `forum_topics`.`category_id` = :category_id", [ 'category_id' => $this->category_id, - 'user_id' => User::findCurrent()->user_id + 'user_id' => User::findCurrent()?->user_id ] ); } |
