mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
06cdbd0dcf
commit
df1191b6e1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
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)
|
switch ($avatar_type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue