mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 04:50:51 +02:00
Fix the module insertion for UCP and MCP (the changes for the ACP had meant it was going in backwards!)
git-svn-id: file:///svn/phpbb/trunk@5925 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1211,7 +1211,7 @@ class install_install extends module
|
||||
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if ($categories[$cat_name]['parent_id'])
|
||||
if ($categories[$cat_name]['parent_id'] || $module_class != 'acp')
|
||||
{
|
||||
$sql = 'UPDATE ' . MODULES_TABLE . "
|
||||
SET left_id = left_id + 2, right_id = right_id + 2
|
||||
|
Reference in New Issue
Block a user