diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-09-04 13:47:56 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-09-04 13:47:56 +0000 |
| commit | 8c567e8c68a3106c94c140f732904b7b5b6eab1a (patch) | |
| tree | 4deecc63204f9d39863165f26deb468541f54c19 /phpBB/posting.php | |
| parent | 5ea461108e2ddf10b72acbc1a79df01af5ec5d81 (diff) | |
| download | forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.gz forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.bz2 forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.xz forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.zip | |
- fixing profile bug
- adjusting acl_gets calls (they are or'd - make sure they get checked correctly based on the situation)
- automatically assign the u_download and u_search permission to the guest group
git-svn-id: file:///svn/phpbb/trunk@6351 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index c763f0c333..c8f469d426 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1122,7 +1122,7 @@ $s_hidden_fields = ($mode == 'reply' || $mode == 'quote') ? '<input type="hidden $s_hidden_fields .= '<input type="hidden" name="lastclick" value="' . $current_time . '" />'; $s_hidden_fields .= ($draft_id || isset($_REQUEST['draft_loaded'])) ? '<input type="hidden" name="draft_loaded" value="' . request_var('draft_loaded', $draft_id) . '" />' : ''; -$form_enctype = (@ini_get('file_uploads') == '0' || strtolower(@ini_get('file_uploads')) == 'off' || @ini_get('file_uploads') == '0' || !$config['allow_attachments'] || !$auth->acl_gets('f_attach', 'u_attach', $forum_id)) ? '' : ' enctype="multipart/form-data"'; +$form_enctype = (@ini_get('file_uploads') == '0' || strtolower(@ini_get('file_uploads')) == 'off' || @ini_get('file_uploads') == '0' || !$config['allow_attachments'] || !$auth->acl_get('u_attach') || !$auth->acl_get('f_attach', $forum_id)) ? '' : ' enctype="multipart/form-data"'; // Start assigning vars for main posting page ... $template->assign_vars(array( |
