From 150807d8da2668de1fee71472f424c65f045520e Mon Sep 17 00:00:00 2001 From: Ruud van Lent Date: Tue, 14 May 2024 16:58:37 +0200 Subject: [PATCH] Fix for #9687 --- .../Controller/Topic/Form/History/TopicFormHistoryDisplay.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/site/src/Controller/Topic/Form/History/TopicFormHistoryDisplay.php b/src/site/src/Controller/Topic/Form/History/TopicFormHistoryDisplay.php index 011583afb4..cd7cb8f152 100644 --- a/src/site/src/Controller/Topic/Form/History/TopicFormHistoryDisplay.php +++ b/src/site/src/Controller/Topic/Form/History/TopicFormHistoryDisplay.php @@ -81,6 +81,7 @@ protected function before() $this->historycount = \count($this->history); KunenaAttachmentHelper::getByMessage($this->history); $userlist = []; + $messages = []; foreach ($this->history as $message) { $messages[$message->id] = $message;