mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
- tackle some usability issues
- fix bug #3147 - added the lock-images made by SHS` - fixed MSSQL errors (adding the correct ESCAPE sequence) git-svn-id: file:///svn/phpbb/trunk@6161 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -792,9 +792,12 @@ class acp_modules
|
||||
{
|
||||
$this->move_module($module_data['module_id'], $module_data['parent_id']);
|
||||
}
|
||||
|
||||
|
||||
$update_ary = $module_data;
|
||||
unset($update_ary['module_id']);
|
||||
|
||||
$sql = 'UPDATE ' . MODULES_TABLE . '
|
||||
SET ' . $db->sql_build_array('UPDATE', $module_data) . "
|
||||
SET ' . $db->sql_build_array('UPDATE', $update_ary) . "
|
||||
WHERE module_class = '" . $db->sql_escape($this->module_class) . "'
|
||||
AND module_id = {$module_data['module_id']}";
|
||||
$db->sql_query($sql);
|
||||
|
Reference in New Issue
Block a user