mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 04:50:51 +02:00
my take on getting the bugs down... thanks to those also providing (usable) solutions to the problem. ;) Of course also to those reporting generally...
git-svn-id: file:///svn/phpbb/trunk@7330 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1352,13 +1352,13 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = false,
|
||||
$post_ids = array();
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
if (!isset($post_attachment[$row['post_id']]))
|
||||
if (!isset($post_attachment[$row['post_msg_id']]))
|
||||
{
|
||||
$post_ids[] = $row['post_id'];
|
||||
$post_ids[] = $row['post_msg_id'];
|
||||
}
|
||||
else
|
||||
{
|
||||
unset($post_attachment[$row['post_id']]);
|
||||
unset($post_attachment[$row['post_msg_id']]);
|
||||
}
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
Reference in New Issue
Block a user