From 4c44eddc907f1e17a6880fdba918d6523c2f660f Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 19 May 2007 16:40:56 +0000 Subject: 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 --- 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 f5b86b00a6..b8f00d71ee 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -280,7 +280,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