drupal core updated to 7.28
This commit is contained in:
@@ -571,6 +571,7 @@ function template_preprocess_profile_listing(&$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 = $field->title;
|
||||
$variables['profile'][$field->name]->value = $field->value;
|
||||
$variables['profile'][$field->name]->type = $field->type;
|
||||
|
Reference in New Issue
Block a user