diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-05-19 16:40:56 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-05-19 16:40:56 +0000 |
commit | 4c44eddc907f1e17a6880fdba918d6523c2f660f (patch) | |
tree | 61f3bde2129aa9d341b7b01b0ed095b3f797e140 /phpBB/includes/functions_upload.php | |
parent | 47d3e4d9b8949d98e86373de0931e928e5ae09ef (diff) | |
download | forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar.gz forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar.bz2 forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar.xz forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.zip |
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
Diffstat (limited to 'phpBB/includes/functions_upload.php')
-rw-r--r-- | phpBB/includes/functions_upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php index 93b809f296..68e06765a5 100644 --- a/phpBB/includes/functions_upload.php +++ b/phpBB/includes/functions_upload.php @@ -319,7 +319,7 @@ class filespec { $this->width = $this->height = 0; - if (($this->image_info = getimagesize($this->destination_file)) !== false) + if (($this->image_info = @getimagesize($this->destination_file)) !== false) { $this->width = $this->image_info[0]; $this->height = $this->image_info[1]; |