aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_compose.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-04-10 19:28:53 +0200
committerNils Adermann <naderman@naderman.de>2010-05-16 16:49:00 +0200
commite3ba934cd7b0325a5fdc444aace0e13d8c84fc59 (patch)
tree2444e7a9660ae4576fe2cdbee1d4f4330bd7db7f /phpBB/includes/ucp/ucp_pm_compose.php
parent03d50a2e83cc631779a7574acd4db8b77f29d547 (diff)
downloadforums-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/includes/ucp/ucp_pm_compose.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index 4d72d45f81..b596e72c41 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -1054,7 +1054,7 @@ function compose_pm($id, $mode, $action)
'S_COMPOSE_PM' => true,
'S_EDIT_POST' => ($action == 'edit'),
'S_SHOW_PM_ICONS' => $s_pm_icons,
- '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"' : '',