diff options
Diffstat (limited to 'src/application')
-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 ]); |