From 2752b58f3323a15b964f6518b7720cb81ccf1b0e Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 5 Nov 2012 01:25:08 -0800 Subject: plaintext default - richtext is a feature --- mod/profiles.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/profiles.php') 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), -- cgit v1.2.3