diff options
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-x | phpBB/install/install_install.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 95d3adb9c0..23cec1f29d 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -404,7 +404,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } $connect_test = false; @@ -546,7 +546,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } if ($dbms == '') @@ -718,7 +718,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } if ($dbms == '') @@ -873,7 +873,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } if ($dbms == '') @@ -957,7 +957,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } if ($dbms == '') @@ -1231,7 +1231,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } $dbpasswd = html_entity_decode($dbpasswd); @@ -1500,7 +1500,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } // Fill the config array - it is needed by those functions we call @@ -1582,7 +1582,7 @@ class install_install extends module // Obtain any submitted data foreach ($this->request_vars as $var) { - $$var = request_var($var, ''); + $$var = ($var == 'admin_name') ? request_var($var, '', true) : request_var($var, ''); } // Load the basic configuration data |