1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-21 07:51:33 +02:00

[feature/avatars] Remove trailing whitespace from avatar code

PHPBB3-10018
This commit is contained in:
Marc Alexander
2013-02-19 12:30:14 +01:00
parent 2302cd7a42
commit a9e0aea4b1
6 changed files with 16 additions and 17 deletions

View File

@@ -1786,7 +1786,7 @@ class acp_users
'user_avatar_width' => 0,
'user_avatar_height' => 0,
);
$sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $result) . '
WHERE user_id = ' . (int) $user_id;
@@ -1843,7 +1843,7 @@ class acp_users
'S_FORM_ENCTYPE' => ' enctype="multipart/form-data"',
'L_AVATAR_EXPLAIN' => sprintf($user->lang['AVATAR_EXPLAIN'], $config['avatar_max_width'], $config['avatar_max_height'], $config['avatar_filesize'] / 1024),
'S_AVATARS_ENABLED' => ($config['allow_avatar'] && $avatars_enabled),
));