aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index f1e67b86b..9661fac69 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -454,9 +454,9 @@ function profiles_content(&$a) {
require_once('include/profile_selectors.php');
- $editselect = 'textareas';
- if(intval(get_pconfig(local_user(),'system','plaintext')))
- $editselect = 'none';
+ $editselect = 'none';
+ if(feature_enabled(local_user(),'richtext'))
+ $editselect = 'textareas';
$a->page['htmlhead'] .= replace_macros(get_markup_template('profed_head.tpl'), array(
'$baseurl' => $a->get_baseurl(true),