diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-04-10 19:28:53 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2010-05-16 16:49:00 +0200 |
commit | e3ba934cd7b0325a5fdc444aace0e13d8c84fc59 (patch) | |
tree | 2444e7a9660ae4576fe2cdbee1d4f4330bd7db7f /phpBB/posting.php | |
parent | 03d50a2e83cc631779a7574acd4db8b77f29d547 (diff) | |
download | forums-e3ba934cd7b0325a5fdc444aace0e13d8c84fc59.tar forums-e3ba934cd7b0325a5fdc444aace0e13d8c84fc59.tar.gz forums-e3ba934cd7b0325a5fdc444aace0e13d8c84fc59.tar.bz2 forums-e3ba934cd7b0325a5fdc444aace0e13d8c84fc59.tar.xz forums-e3ba934cd7b0325a5fdc444aace0e13d8c84fc59.zip |
[ticket/8894] Fix JavaScript-Error and hide Quote-Button on topic review if BBCodes are not allowed.
PHPBB3-8894
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 5f27b61aae..1f593df561 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1420,7 +1420,7 @@ $template->assign_vars(array( 'S_DISPLAY_USERNAME' => (!$user->data['is_registered'] || ($mode == 'edit' && $post_data['poster_id'] == ANONYMOUS)) ? true : false, 'S_SHOW_TOPIC_ICONS' => $s_topic_icons, 'S_DELETE_ALLOWED' => ($mode == 'edit' && (($post_id == $post_data['topic_last_post_id'] && $post_data['poster_id'] == $user->data['user_id'] && $auth->acl_get('f_delete', $forum_id) && !$post_data['post_edit_locked'] && ($post_data['post_time'] > time() - ($config['delete_time'] * 60) || !$config['delete_time'])) || $auth->acl_get('m_delete', $forum_id))) ? true : false, - 'S_BBCODE_ALLOWED' => $bbcode_status, + 'S_BBCODE_ALLOWED' => ($bbcode_status) ? 1 : 0, 'S_BBCODE_CHECKED' => ($bbcode_checked) ? ' checked="checked"' : '', 'S_SMILIES_ALLOWED' => $smilies_status, 'S_SMILIES_CHECKED' => ($smilies_checked) ? ' checked="checked"' : '', |