@@ 82-84 (lines=3) @@ | ||
79 | ||
80 | $allPosts = []; |
|
81 | ||
82 | foreach ($posts as $p) { |
|
83 | array_push($allPosts, [$p, $post->getTags([$p->postid])]); |
|
84 | } |
|
85 | ||
86 | $data = [ |
|
87 | "items" => $allPosts, |
@@ 73-75 (lines=3) @@ | ||
70 | ||
71 | $allPosts = []; |
|
72 | ||
73 | foreach ($posts as $p) { |
|
74 | array_push($allPosts, [$p, $this->getTags([$p->postid])]); |
|
75 | } |
|
76 | ||
77 | $data = [ |
|
78 | "items" => $this->getUsers(), |