mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 20:40:24 +02:00
we included a check for getimagesize() existance... now we again can suppress notices while running this function.
git-svn-id: file:///svn/phpbb/trunk@7646 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1603,7 +1603,7 @@ function avatar_remote($data, &$error)
|
||||
}
|
||||
|
||||
// Make sure getimagesize works...
|
||||
if (($image_data = getimagesize($data['remotelink'])) === false)
|
||||
if (($image_data = @getimagesize($data['remotelink'])) === false)
|
||||
{
|
||||
$error[] = $user->lang['UNABLE_GET_IMAGE_SIZE'];
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user