Missing Merge, (Read Full Bug)

This commit is contained in:
Ice
2008-04-21 15:11:17 +00:00
parent 6a83643607
commit 60bd3d8988

View File

@@ -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++;