fix moving forums around. :o

git-svn-id: file:///svn/phpbb/trunk@7498 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-05-07 15:17:01 +00:00
parent 5de26540b4
commit aca6d695c8

View file

@ -1232,6 +1232,9 @@ class acp_forums
if ($to_id > 0)
{
// Retrieve $to_data again, it may have been changed...
$to_data = $this->get_forum_info($to_id);
// Resync new parents
$sql = 'UPDATE ' . FORUMS_TABLE . "
SET right_id = right_id + $diff, forum_parents = ''