From 8f692db40798eb3cef62eb22b626c4afa683cb1a Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Wed, 6 Jun 2007 16:08:25 +0000 Subject: [PATCH] #11969 git-svn-id: file:///svn/phpbb/trunk@7718 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 2 +- phpBB/includes/functions_install.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 4d676ad80b..1375bcfe4a 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -240,7 +240,7 @@ p a {
  • [Feature] Added the option to disable the flash bbcode globally (DelvarWorld).
  • [Sec] Changed the embedding of Flash (NeoThermic, DelvarWorld).
  • [Fix] Use the signature setting for PMs (Bug #12001)
  • - +
  • [Fix] Made the DBMS selection use language variables (Bug #11969)
  • diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php index fa85b89d48..bf82802a29 100644 --- a/phpBB/includes/functions_install.php +++ b/phpBB/includes/functions_install.php @@ -29,6 +29,7 @@ function can_load_dll($dll) */ function get_available_dbms($dbms = false, $return_unavailable = false, $only_20x_options = false) { + global $lang; $available_dbms = array( 'firebird' => array( 'LABEL' => 'FireBird', @@ -172,12 +173,14 @@ function get_available_dbms($dbms = false, $return_unavailable = false, $only_20 */ function dbms_select($default = '', $only_20x_options = false) { + global $lang; + $available_dbms = get_available_dbms(false, false, $only_20x_options); $dbms_options = ''; foreach ($available_dbms as $dbms_name => $details) { $selected = ($dbms_name == $default) ? ' selected="selected"' : ''; - $dbms_options .= ''; + $dbms_options .= ''; } return $dbms_options; }