From 4b896717ccfa594315836a139e7664a5228a2925 Mon Sep 17 00:00:00 2001 From: dougk_ff7 Date: Wed, 7 Aug 2002 17:20:31 +0000 Subject: [PATCH] Oops, forgot to define $board_config as a global.... git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2841 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/config.php | 28 ++++++++++++++++++++++++++++ phpBB/includes/usercp_avatar.php | 1 + 2 files changed, 29 insertions(+) diff --git a/phpBB/config.php b/phpBB/config.php index e69de29bb2..51ddc64c9d 100644 --- a/phpBB/config.php +++ b/phpBB/config.php @@ -0,0 +1,28 @@ + diff --git a/phpBB/includes/usercp_avatar.php b/phpBB/includes/usercp_avatar.php index 3e16879099..740d60db95 100644 --- a/phpBB/includes/usercp_avatar.php +++ b/phpBB/includes/usercp_avatar.php @@ -64,6 +64,7 @@ function user_avatar_delete($avatar_type, $avatar_file) function user_avatar_gallery($mode, &$error, &$error_msg, $avatar_filename) { + global $board_config; if ( file_exists($board_config['avatar_gallery_path'] . '/' . $avatar_filename) && ($mode == 'editprofile') ) { $return = ", user_avatar = '" . str_replace("\'", "''", $avatar_filename) . "', user_avatar_type = " . USER_AVATAR_GALLERY;