aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-12-29 17:57:17 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-12-29 17:57:17 +0100
commit4b832cf2bd95f1af44d72dee45ff23b1eb9179ae (patch)
treeb326356ff27c0ea3be7a0bcb3b9350357bd78493 /phpBB
parent1465915830859a7c9664e477739df5f125cfcdff (diff)
downloadforums-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.php2
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]);