aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Anca <gabrielanca@phpbb.com>2012-03-22 19:03:07 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2012-04-04 23:43:10 -0400
commit1c9993055a563cab323b03f15d2d3bc1ae696b0b (patch)
treea0a7fc3ae19e45fdbcba28f71656dc7d2f7999cb
parent0e954506c0e78fa4563b3336b1fba6eab8ed2dc4 (diff)
downloadforums-1c9993055a563cab323b03f15d2d3bc1ae696b0b.tar
forums-1c9993055a563cab323b03f15d2d3bc1ae696b0b.tar.gz
forums-1c9993055a563cab323b03f15d2d3bc1ae696b0b.tar.bz2
forums-1c9993055a563cab323b03f15d2d3bc1ae696b0b.tar.xz
forums-1c9993055a563cab323b03f15d2d3bc1ae696b0b.zip
[ticket/10547] User is not logged in as admin after installation
After installing, when user clicks Login button (final installation step), he is not logged in because there's a missing var ($data) PHPBB3-10547
-rw-r--r--phpBB/install/install_install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index 361376763d..7558fde944 100644
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1804,6 +1804,9 @@ class install_install extends module
$this->page_title = $lang['STAGE_FINAL'];
+ // Obtain any submitted data
+ $data = $this->get_submitted_data();
+
// We need to fill the config to let internal functions correctly work
$config = new phpbb_config_db($db, new phpbb_cache_driver_null, CONFIG_TABLE);
set_config(null, null, null, $config);