Skip to content

Commit

Permalink
fix(profile): don't show removed description field
Browse files Browse the repository at this point in the history
Fixes #8984
  • Loading branch information
mrclay committed Jan 31, 2016
1 parent 580f507 commit 9846c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/profile/views/default/profile/details.php
Expand Up @@ -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'));
Expand Down

0 comments on commit 9846c4a

Please sign in to comment.