wzq преди 5 години
родител
ревизия
0a91307eae
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Repositories/Post/PostRepository.php

+ 1 - 1
app/Repositories/Post/PostRepository.php

@@ -956,7 +956,7 @@ class PostRepository
                                 Carbon::parse($post->created_at)->toDateTimeString(),
                                 $post->username,
                                 $post->location,
-                                implode(' ', $post->topic()->toArray()),
+                                implode(' ', $this->getTopic($post->topic_ids)),
                                 subtext(strip_tags($post->content), 20),
                                 $post->data->pv_real,
                                 $post->data->pv,