Permalink
Browse files

fix(profile): don't show removed description field

Fixes #8984
  • Loading branch information...
mrclay committed Jan 31, 2016
1 parent 580f507 commit 9846c4a462e1b2648eec03a4285f89b9c7af53f0
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/profile/views/default/profile/details.php
@@ -75,7 +75,7 @@
}
}
if ($user->description) {
if (isset($profile_fields['description']) && $user->description) {
echo "<p class='profile-aboutme-title'><b>" . elgg_echo("profile:aboutme") . "</b></p>";
echo "<div class='profile-aboutme-contents'>";
echo elgg_view('output/longtext', array('value' => $user->description, 'class' => 'mtn'));

0 comments on commit 9846c4a

Please sign in to comment.