diff options
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 2374fe8ea..1da4c6f47 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -544,6 +544,7 @@ function template_preprocess_profile_block(&$variables) { // Supply filtered version of $fields that have values. foreach ($variables['fields'] as $field) { if ($field->value) { + $variables['profile'][$field->name] = new stdClass; $variables['profile'][$field->name]->title = check_plain($field->title); $variables['profile'][$field->name]->value = $field->value; $variables['profile'][$field->name]->type = $field->type; |