1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12822] Remove "None" option from avatar select boxes

This option is just used for deleting avatars for which we already have
a checkbox.

PHPBB3-12822
This commit is contained in:
Marc Alexander
2014-08-07 12:21:46 +02:00
parent 9b36b5283c
commit 4f23bb711c
10 changed files with 5 additions and 18 deletions

View File

@@ -69,6 +69,11 @@ class gravatar extends \phpbb\avatar\driver\driver
$row['avatar_width'] = $request->variable('avatar_gravatar_width', 0);
$row['avatar_height'] = $request->variable('avatar_gravatar_height', 0);
if (empty($row['avatar']))
{
return false;
}
if (!function_exists('validate_data'))
{
require($this->phpbb_root_path . 'includes/functions_user.' . $this->php_ext);