diff options
Diffstat (limited to 'mod/message.php')
-rw-r--r-- | mod/message.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/message.php b/mod/message.php index d501f3b54..2e4f175e2 100644 --- a/mod/message.php +++ b/mod/message.php @@ -50,10 +50,7 @@ function message_post(&$a) { $body = ((x($_REQUEST,'body')) ? escape_tags(trim($_REQUEST['body'])) : ''); $recipient = ((x($_REQUEST,'messageto')) ? intval($_REQUEST['messageto']) : 0 ); - // Work around doubled linefeeds in Tinymce 3.5b2 - - $plaintext = intval(get_pconfig(local_user(),'system','plaintext')); - if(! $plaintext) { + if(feature_enabled(local_user(),'richtext')) { $body = fix_mce_lf($body); } |