mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 23:16:13 +02:00
[feature/avatars] Use in_array() and fix tabbing
PHPBB3-10018
This commit is contained in:
parent
726d1a16d7
commit
8c782122c1
@ -79,7 +79,7 @@ class phpbb_avatar_manager
|
||||
break;
|
||||
}
|
||||
|
||||
if (false === array_search($avatar_type, self::$valid_drivers))
|
||||
if (!in_array($avatar_type, self::$valid_drivers))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user