From c69b525c382bd24d389e56af3033d5a82051aab1 Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 13 Jul 2011 21:49:41 -0400 Subject: Issue #348448 follow-up by jrchamp, catch: Fix E_STRICT errors. --- modules/profile/profile.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/profile') 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; -- cgit v1.2.3