diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2010-11-08 23:03:20 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2010-11-09 07:56:37 +0100 |
| commit | d722eeb64b0a8906ae62e814156de3582c16b820 (patch) | |
| tree | 376e874139ae33e2f01e202c801e7fa08102de2a | |
| parent | e71911a8d27961d96e038c10041c74b54398b8f6 (diff) | |
| download | forums-d722eeb64b0a8906ae62e814156de3582c16b820.tar forums-d722eeb64b0a8906ae62e814156de3582c16b820.tar.gz forums-d722eeb64b0a8906ae62e814156de3582c16b820.tar.bz2 forums-d722eeb64b0a8906ae62e814156de3582c16b820.tar.xz forums-d722eeb64b0a8906ae62e814156de3582c16b820.zip | |
[ticket/9886] Update fails on PostgreSQL because of an error in _add_module
PHPBB3-9886
| -rw-r--r-- | phpBB/install/database_update.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index e65237266b..fd7591268d 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -685,8 +685,7 @@ function _add_modules($modules_to_install) FROM ' . MODULES_TABLE . " WHERE module_class = '" . $db->sql_escape($module_data['class']) . "' AND parent_id = {$parent_id} - AND left_id BETWEEN {$first_left_id} AND {$module_row['left_id']} - ORDER BY left_id"; + AND left_id BETWEEN {$first_left_id} AND {$module_row['left_id']}"; $result = $db->sql_query($sql); $steps = (int) $db->sql_fetchfield('num_modules'); $db->sql_freeresult($result); |
