phpBB

Code Changes

File: includes/acp/acp_forums.php

  Unmodified   Added   Modified   Removed
Line 1430Line 1430
		{
return $errors;
}

		{
return $errors;
}

 

$db->sql_transaction('begin');


$moved_forums = get_forum_branch($from_id, 'children', 'descending');
$from_data = $moved_forums[0];


$moved_forums = get_forum_branch($from_id, 'children', 'descending');
$from_data = $moved_forums[0];

Line 1501Line 1503
			SET left_id = left_id $diff, right_id = right_id $diff, forum_parents = ''
WHERE " . $db->sql_in_set('forum_id', $moved_ids);
$db->sql_query($sql);

			SET left_id = left_id $diff, right_id = right_id $diff, forum_parents = ''
WHERE " . $db->sql_in_set('forum_id', $moved_ids);
$db->sql_query($sql);

 

$db->sql_transaction('commit');


return $errors;
}


return $errors;
}