mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08: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(
|
$keys = array_map(
|
||||||
function ($key)
|
function ($key)
|
||||||
{
|
{
|
||||||
return preg_replace('(user_|group_)', '', $key);
|
return preg_replace('#^(?:user_|group_)#', '', $key);
|
||||||
},
|
},
|
||||||
$row
|
$row
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue