mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 11:35:24 +02:00
[feature/passwords] Intialize output array before usage in passwords helper
PHPBB3-11610
This commit is contained in:
@ -41,6 +41,8 @@ class helper
|
|||||||
*/
|
*/
|
||||||
protected function get_combined_hash_settings($hash)
|
protected function get_combined_hash_settings($hash)
|
||||||
{
|
{
|
||||||
|
$output = array();
|
||||||
|
|
||||||
preg_match('#^\$([a-zA-Z0-9\\\]*?)\$#', $hash, $match);
|
preg_match('#^\$([a-zA-Z0-9\\\]*?)\$#', $hash, $match);
|
||||||
$hash_settings = substr($hash, strpos($hash, $match[1]) + strlen($match[1]) + 1);
|
$hash_settings = substr($hash, strpos($hash, $match[1]) + strlen($match[1]) + 1);
|
||||||
$matches = explode('\\', $match[1]);
|
$matches = explode('\\', $match[1]);
|
||||||
|
Reference in New Issue
Block a user