diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-20 11:39:48 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-20 11:39:48 +0000 |
commit | 1c02e47e69ab91105494e8eb61857f49743d3c08 (patch) | |
tree | 2c6182a182b2fd15350e3e0b2ec1261d257560c8 /modules | |
parent | 64ff0984a910e032c73e0a3b4cea7d83bb25e9e6 (diff) | |
download | brdo-1c02e47e69ab91105494e8eb61857f49743d3c08.tar.gz brdo-1c02e47e69ab91105494e8eb61857f49743d3c08.tar.bz2 |
#192201 by myself: remove overly secure check_markup() and check_plain() usage which results in double escaped output
Diffstat (limited to 'modules')
-rw-r--r-- | modules/profile/profile.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 8f0458984..33ba23ea6 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -312,8 +312,8 @@ function profile_view_profile(&$user) { $user->content[$field->category][$field->name] = array( '#type' => 'user_profile_item', - '#title' => check_plain($title), - '#value' => check_markup($value), + '#title' => $title, + '#value' => $value, '#weight' => $field->weight, '#attributes' => array('class' => 'profile-'. $field->name), ); |