Skip to content
Snippets Groups Projects
Commit 97568421 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #89823 by jvandyck: removed unused line of code

parent d9ed1a9f
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -602,7 +602,6 @@ function profile_view_profile($user) { ...@@ -602,7 +602,6 @@ function profile_view_profile($user) {
while ($field = db_fetch_object($result)) { while ($field = db_fetch_object($result)) {
if ($value = profile_view_field($user, $field)) { if ($value = profile_view_field($user, $field)) {
$description = ($field->visibility == PROFILE_PRIVATE) ? t('The content of this field is private and only visible to yourself.') : '';
$title = ($field->type != 'checkbox') ? check_plain($field->title) : NULL; $title = ($field->type != 'checkbox') ? check_plain($field->title) : NULL;
$item = array('title' => $title, $item = array('title' => $title,
'value' => $value, 'value' => $value,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment