diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-12-29 17:57:17 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-12-29 17:57:17 +0100 |
commit | 4b832cf2bd95f1af44d72dee45ff23b1eb9179ae (patch) | |
tree | b326356ff27c0ea3be7a0bcb3b9350357bd78493 /phpBB | |
parent | 1465915830859a7c9664e477739df5f125cfcdff (diff) | |
download | forums-4b832cf2bd95f1af44d72dee45ff23b1eb9179ae.tar forums-4b832cf2bd95f1af44d72dee45ff23b1eb9179ae.tar.gz forums-4b832cf2bd95f1af44d72dee45ff23b1eb9179ae.tar.bz2 forums-4b832cf2bd95f1af44d72dee45ff23b1eb9179ae.tar.xz forums-4b832cf2bd95f1af44d72dee45ff23b1eb9179ae.zip |
[feature/passwords] Intialize output array before usage in passwords helper
PHPBB3-11610
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/passwords/helper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/passwords/helper.php b/phpBB/phpbb/passwords/helper.php index c7937a4c5c..fdf2b6f907 100644 --- a/phpBB/phpbb/passwords/helper.php +++ b/phpBB/phpbb/passwords/helper.php @@ -41,6 +41,8 @@ class helper */ protected function get_combined_hash_settings($hash) { + $output = array(); + preg_match('#^\$([a-zA-Z0-9\\\]*?)\$#', $hash, $match); $hash_settings = substr($hash, strpos($hash, $match[1]) + strlen($match[1]) + 1); $matches = explode('\\', $match[1]); |