mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
fix moving forums around. :o
git-svn-id: file:///svn/phpbb/trunk@7498 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5de26540b4
commit
aca6d695c8
1 changed files with 3 additions and 0 deletions
|
@ -1232,6 +1232,9 @@ class acp_forums
|
||||||
|
|
||||||
if ($to_id > 0)
|
if ($to_id > 0)
|
||||||
{
|
{
|
||||||
|
// Retrieve $to_data again, it may have been changed...
|
||||||
|
$to_data = $this->get_forum_info($to_id);
|
||||||
|
|
||||||
// Resync new parents
|
// Resync new parents
|
||||||
$sql = 'UPDATE ' . FORUMS_TABLE . "
|
$sql = 'UPDATE ' . FORUMS_TABLE . "
|
||||||
SET right_id = right_id + $diff, forum_parents = ''
|
SET right_id = right_id + $diff, forum_parents = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue