1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 07:08:09 +01:00

[feature/passwords] Intialize output array before usage in passwords helper

PHPBB3-11610
This commit is contained in:
Marc Alexander 2013-12-29 17:57:17 +01:00
parent 1465915830
commit 4b832cf2bd

View File

@ -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]);