From cbb742ea8073a35fe812ba9da97faed2b8612d61 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 7 May 2007 21:21:40 +0000 Subject: #10617 git-svn-id: file:///svn/phpbb/trunk@7503 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_user.php') diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 079a2d3e77..0dab76e7c0 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1791,7 +1791,7 @@ function avatar_get_dimensions($avatar, $avatar_type, &$error, $current_x = 0, $ $error[] = $user->lang['UNABLE_GET_IMAGE_SIZE']; return false; } - + if ($image_data[0] < 2 || $image_data[1] < 2) { $error[] = $user->lang['AVATAR_NO_SIZE']; -- cgit v1.2.1