mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/avatars] Fix clean_row regex, thanks to chris
PHPBB3-10018
This commit is contained in:
parent
b2b812f171
commit
f273ab16ae
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue