[ticket/11569] Add type parameter and fix language variable

PHPBB3-11569
This commit is contained in:
Oliver Schramm 2013-05-29 13:27:15 +02:00
parent c65617479d
commit a79e229c25

View file

@ -264,7 +264,7 @@ while (!$migrator->finished())
if ((time() - $update_start_time) >= $safe_time_limit)
{
echo $user->lang['DATABASE_UPDATE_NOT_COMPLETED'] . '<br />';
echo '<a href="' . append_sid($phpbb_root_path . 'install/database_update.' . $phpEx, 'language=' . $user->data['user_lang']) . '">' . $user->lang['DATABASE_UPDATE_CONTINUE'] . '</a>';
echo '<a href="' . append_sid($phpbb_root_path . 'install/database_update.' . $phpEx, 'type=' . $request->variable('type', 0) . '&amp;language=' . $user->lang['USER_LANG']) . '">' . $user->lang['DATABASE_UPDATE_CONTINUE'] . '</a>';
phpbb_end_update($cache, $config);
}