From 766e311ff35b486a2f01b1cb2cf4fef3df290825 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 7 Feb 2007 16:32:25 +0000 Subject: adjust text for getting image dimensions as well as not suppressing warnings for getimagesize() git-svn-id: file:///svn/phpbb/trunk@6973 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/message_parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/message_parser.php') diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index e5e2240b6d..e2c0b37fe7 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -273,7 +273,7 @@ class bbcode_firstpass extends bbcode if ($config['max_' . $this->mode . '_img_height'] || $config['max_' . $this->mode . '_img_width']) { - $stats = @getimagesize($in); + $stats = getimagesize($in); if ($stats === false) { -- cgit v1.2.1