summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-20 07:32:19 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-20 07:32:19 +0000
commit7cf7f998781c24f0f27218a9ffdcde290e7ec6ec (patch)
tree4e5b5b95f2dc6d8ddf7a7a3d7a173bfb3428717f /modules/profile/profile.module
parent3a2eff7145176693eb5ae3cd04b77ccebfa717b7 (diff)
downloadbrdo-7cf7f998781c24f0f27218a9ffdcde290e7ec6ec.tar.gz
brdo-7cf7f998781c24f0f27218a9ffdcde290e7ec6ec.tar.bz2
- Patch #11218 by David_Rothstein, sun, quicksketch, duncf, awood456, dropcube, mgifford | pwolanin, dww, RobRoy, Crell, webchick, beginner, ray007, bjaspan, chx, Gábor Hojtsy, Steven, Dries, lutegrass, sym, guardian, matt2000, geerlingguy, SeanBannister, matt westgate, com2, praseodym: allow default text formats per role, and integrate text format permissions.
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index ac6cd9118..7b9bddaa2 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -292,7 +292,7 @@ function profile_view_field($account, $field) {
if (isset($account->{$field->name}) && $value = $account->{$field->name}) {
switch ($field->type) {
case 'textarea':
- return check_markup($value);
+ return check_markup($value, filter_default_format($account));
case 'textfield':
case 'selection':
return $browse ? l($value, 'profile/' . $field->name . '/' . $value) : check_plain($value);