diff options
author | Jonas Kohl | 2024-12-10 11:54:26 +0100 |
---|---|---|
committer | Jonas Kohl | 2024-12-10 11:54:26 +0100 |
commit | 611ced38b4a736cfa0792998965f53b62da75374 (patch) | |
tree | e3792680dde8228946773a0f9cb2842a03298cd0 /src/application/actions/search | |
parent | c81ecbf2192ffa5643b0e6d14c8e86610c3a1fb6 (diff) |
Fix search topics
Diffstat (limited to 'src/application/actions/search')
-rw-r--r-- | src/application/actions/search/get.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application/actions/search/get.php b/src/application/actions/search/get.php index bc1bdba..fab0a7f 100644 --- a/src/application/actions/search/get.php +++ b/src/application/actions/search/get.php @@ -27,7 +27,7 @@ if ($query !== null) { $topic = new Topic; $topic->id = $item->topicId; if ($db->fetch($topic)) - $topicLookup[$topic->id] = &$topic; + $topicLookup[$topic->id] = $topic; } if (!isset($attachmentLookup[$item->id])) { $attachmentLookup[$item->id] = $db->fetchCustom(Attachment::class, 'WHERE post_id = $1', [ $item->id ]); |