Missing Merge, (Read Full Bug)
This commit is contained in:
@@ -280,7 +280,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
$global_f = $row['forum_id'];
|
$global_f = $row['forum_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$posts[$i] = array(
|
$posts[$i] = array_merge($posts, array(
|
||||||
'post_text' => ap_validate($message),
|
'post_text' => ap_validate($message),
|
||||||
'topic_id' => $row['topic_id'],
|
'topic_id' => $row['topic_id'],
|
||||||
'topic_last_post_id' => $row['topic_last_post_id'],
|
'topic_last_post_id' => $row['topic_last_post_id'],
|
||||||
@@ -298,7 +298,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
'attachment' => ($row['topic_attachment']) ? true : false,
|
'attachment' => ($row['topic_attachment']) ? true : false,
|
||||||
'topic_views' => $row['topic_views'],
|
'topic_views' => $row['topic_views'],
|
||||||
'forum_name' => $row['forum_name']
|
'forum_name' => $row['forum_name']
|
||||||
);
|
));
|
||||||
$posts['global_id'] = $global_f;
|
$posts['global_id'] = $global_f;
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
Reference in New Issue
Block a user