wzq hace 5 años
padre
commit
0a91307eae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(),
                                 Carbon::parse($post->created_at)->toDateTimeString(),
                                 $post->username,
                                 $post->username,
                                 $post->location,
                                 $post->location,
-                                implode(' ', $post->topic()->toArray()),
+                                implode(' ', $this->getTopic($post->topic_ids)),
                                 subtext(strip_tags($post->content), 20),
                                 subtext(strip_tags($post->content), 20),
                                 $post->data->pv_real,
                                 $post->data->pv_real,
                                 $post->data->pv,
                                 $post->data->pv,