mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 18:44:37 +02:00
Maybe we should globalize objects which we want to use.
git-svn-id: file:///svn/phpbb/trunk@7551 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -1829,7 +1829,7 @@ function avatar_gallery($category, $avatar_select, $items_per_column, $block_var
|
||||
*/
|
||||
function avatar_get_dimensions($avatar, $avatar_type, &$error, $current_x = 0, $current_y = 0)
|
||||
{
|
||||
global $config, $phpbb_root_path;
|
||||
global $config, $phpbb_root_path, $user;
|
||||
|
||||
switch ($avatar_type)
|
||||
{
|
||||
|
Reference in New Issue
Block a user