diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-09-17 09:11:48 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-09-17 09:11:48 +0000 |
commit | 8906e07d414a2fa379e3aba0b96b4f3ea468699f (patch) | |
tree | 861c223dc014c75aecd107501b46c831296df4b1 /phpBB/includes/functions_posting.php | |
parent | f8c8d23a726df53c420268fd5c4d7aec468a107b (diff) | |
download | forums-8906e07d414a2fa379e3aba0b96b4f3ea468699f.tar forums-8906e07d414a2fa379e3aba0b96b4f3ea468699f.tar.gz forums-8906e07d414a2fa379e3aba0b96b4f3ea468699f.tar.bz2 forums-8906e07d414a2fa379e3aba0b96b4f3ea468699f.tar.xz forums-8906e07d414a2fa379e3aba0b96b4f3ea468699f.zip |
- extensions_allowed changed a bit.
git-svn-id: file:///svn/phpbb/trunk@4986 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 5946183b21..61a2620e74 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -157,7 +157,7 @@ function upload_attachment($forum_id, $filename, $local = false, $local_storage obtain_attach_extensions($extensions); // Check Extension - if (!extension_allowed($forum_id, $filedata['extension'])) + if (!extension_allowed($forum_id, $filedata['extension'], $extensions)) { $filedata['error'][] = sprintf($user->lang['DISALLOWED_EXTENSION'], $filedata['extension']); $filedata['post_attach'] = false; |