aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-05-12 16:15:08 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-05-12 16:15:08 +0000
commitdf1191b6e1a43fd18be445f4fbfa7256f04a37c1 (patch)
treeaa54360527d48c93185796fe733564abadc46ace
parent06cdbd0dcf77c1bd31ddfbe0d2a5dc94c8cb5fff (diff)
downloadforums-df1191b6e1a43fd18be445f4fbfa7256f04a37c1.tar
forums-df1191b6e1a43fd18be445f4fbfa7256f04a37c1.tar.gz
forums-df1191b6e1a43fd18be445f4fbfa7256f04a37c1.tar.bz2
forums-df1191b6e1a43fd18be445f4fbfa7256f04a37c1.tar.xz
forums-df1191b6e1a43fd18be445f4fbfa7256f04a37c1.zip
Maybe we should globalize objects which we want to use.
git-svn-id: file:///svn/phpbb/trunk@7551 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 87e88f5ac2..9a304faba3 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -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)
{