aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-02-07 16:32:25 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-02-07 16:32:25 +0000
commit766e311ff35b486a2f01b1cb2cf4fef3df290825 (patch)
tree7e3cf76f8c0419e004cd8e7705717d2c3d8fc205 /phpBB/includes/message_parser.php
parent458bd5b3cdec51fd64f4a4056cb419bbbc099907 (diff)
downloadforums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar
forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar.gz
forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar.bz2
forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar.xz
forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.zip
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
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
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)
{