1
0
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:
Graham Eames
2006-05-17 19:44:28 +00:00
parent 5e1d4527e8
commit 14e3edffc2
3 changed files with 3 additions and 3 deletions

View File

@@ -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