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:
parent
1465915830
commit
4b832cf2bd
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user