mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 02:21:43 +02:00
[feature/avatars] Fix clean_row regex, thanks to chris
PHPBB3-10018
This commit is contained in:
@@ -137,7 +137,7 @@ class phpbb_avatar_manager
|
|||||||
$keys = array_map(
|
$keys = array_map(
|
||||||
function ($key)
|
function ($key)
|
||||||
{
|
{
|
||||||
return preg_replace('(user_|group_)', '', $key);
|
return preg_replace('#^(?:user_|group_)#', '', $key);
|
||||||
},
|
},
|
||||||
$row
|
$row
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user