diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2005-01-24 13:14:31 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2005-01-24 13:14:31 +0000 |
commit | 0a1b040588654b82baa7c258b02355081873b775 (patch) | |
tree | 67b46a1974bd3247e413c969d2b127d111baebf9 /phpBB/includes/functions_admin.php | |
parent | 61fbde5a72a26a8dd964a529720bdae6e3e14577 (diff) | |
download | forums-0a1b040588654b82baa7c258b02355081873b775.tar forums-0a1b040588654b82baa7c258b02355081873b775.tar.gz forums-0a1b040588654b82baa7c258b02355081873b775.tar.bz2 forums-0a1b040588654b82baa7c258b02355081873b775.tar.xz forums-0a1b040588654b82baa7c258b02355081873b775.zip |
BBCode enabled profile fields, removed field_name from profile fields, fixed some uninitialised variable issues, some small conversion issues
git-svn-id: file:///svn/phpbb/trunk@5076 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 7aba44595a..03a89eca31 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -1344,7 +1344,9 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = FALSE, unset($topic_data); // if some topics have been resync'ed then resync parent forums - if ($resync_parents && sizeof($resync_forums)) + // except when we're only syncing a range, we don't want to sync forums during + // batch processing. + if ($resync_parents && sizeof($resync_forums) && $where_type != 'range') { sync('forum', 'forum_id', $resync_forums, TRUE); } |