aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-05-16 16:49:39 +0200
committerNils Adermann <naderman@naderman.de>2010-05-16 16:49:39 +0200
commite477b3acc8d3de159da9dd1dd185c46a9f16c13a (patch)
tree1d2426fac05a95c58855051c91fe980212835a6f /phpBB/includes
parent478708346e2b046ae474ffb0c2e451a2690ddd2b (diff)
parente3ba934cd7b0325a5fdc444aace0e13d8c84fc59 (diff)
downloadforums-e477b3acc8d3de159da9dd1dd185c46a9f16c13a.tar
forums-e477b3acc8d3de159da9dd1dd185c46a9f16c13a.tar.gz
forums-e477b3acc8d3de159da9dd1dd185c46a9f16c13a.tar.bz2
forums-e477b3acc8d3de159da9dd1dd185c46a9f16c13a.tar.xz
forums-e477b3acc8d3de159da9dd1dd185c46a9f16c13a.zip
Merge branch 'ticket/nickvergessen/8894' into develop-olympus
* ticket/nickvergessen/8894: [ticket/8894] Fix JavaScript-Error and hide Quote-Button on topic review if BBCodes are not allowed.
Diffstat (limited to 'phpBB/includes')
-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"' : '',