diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-12 16:20:39 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-12 16:20:39 +0000 |
commit | b63745fdb3b775d7505f38ed03a8bb39907a825c (patch) | |
tree | 3c2bc96535a30d66df3fdf6b3307be469d4362bd /phpBB/includes/functions_admin.php | |
parent | f0868d37dfd73df6c2dfd76362af6c09b6b49a5f (diff) | |
download | forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar.gz forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar.bz2 forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar.xz forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.zip |
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
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 7437255f2f..07d0a5d4c2 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -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); |