mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/passwords] Intialize output array before usage in passwords helper
PHPBB3-11610
This commit is contained in:
parent
1465915830
commit
4b832cf2bd
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue