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