diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-08-15 16:32:48 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-08-15 16:32:48 +0000 |
| commit | 3623207f8835a1751432958556db0baa24c10822 (patch) | |
| tree | aa2743dfaf427e4e5c331932c76137dcacca0586 /phpBB/includes | |
| parent | 9041b88501fc87103aec045ac059a0451946f3d6 (diff) | |
| download | forums-3623207f8835a1751432958556db0baa24c10822.tar forums-3623207f8835a1751432958556db0baa24c10822.tar.gz forums-3623207f8835a1751432958556db0baa24c10822.tar.bz2 forums-3623207f8835a1751432958556db0baa24c10822.tar.xz forums-3623207f8835a1751432958556db0baa24c10822.zip | |
hmm, we never had such an object. :)
git-svn-id: file:///svn/phpbb/trunk@4407 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
| -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 55662b3815..a42952375b 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -456,7 +456,7 @@ function upload_attachment($filename) } // check Filesize - if ($allowed_filesize != 0 && $filedata['filesize'] > $allowed_filesize && !$acl->gets('m_', 'a_')) + if ($allowed_filesize != 0 && $filedata['filesize'] > $allowed_filesize && !$auth->acl_gets('m_', 'a_')) { $size_lang = ($allowed_filesize >= 1048576) ? $user->lang['MB'] : ( ($allowed_filesize >= 1024) ? $user->lang['KB'] : $user->lang['BYTES'] ); |
