aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-17 13:23:13 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-17 13:23:13 +0000
commitfbd741606055ed75c0ff1bc2a110d880cad4cbd4 (patch)
tree99955b09aec69e65b73bf7592bf7e4dc4651638f /phpBB/includes/functions_user.php
parenta2c81d763fa2e591bf3aa8f48ffeed4beb363975 (diff)
downloadforums-fbd741606055ed75c0ff1bc2a110d880cad4cbd4.tar
forums-fbd741606055ed75c0ff1bc2a110d880cad4cbd4.tar.gz
forums-fbd741606055ed75c0ff1bc2a110d880cad4cbd4.tar.bz2
forums-fbd741606055ed75c0ff1bc2a110d880cad4cbd4.tar.xz
forums-fbd741606055ed75c0ff1bc2a110d880cad4cbd4.zip
#11074 - only process and check (as well as display) images if the category also matches. ;)
git-svn-id: file:///svn/phpbb/trunk@7616 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 3da49026c9..a53577d68d 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1853,6 +1853,7 @@ function avatar_get_dimensions($avatar, $avatar_type, &$error, $current_x = 0, $
$avatar = $phpbb_root_path . $config['avatar_gallery_path'] . '/' . $avatar ;
break;
}
+
// Make sure getimagesize works...
if (($image_data = @getimagesize($avatar)) === false)
{