1
0
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:
Igor Wiedler 2012-04-08 22:28:40 +02:00
parent b2b812f171
commit f273ab16ae

View File

@ -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
);