From e30853303f6ef852e6d8f46ce07c9e8af14de63b Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 18 Jul 2011 00:56:06 -0700 Subject: Issue #348448 follow-up by jbrown: Coding standard fixes to E_STRICT tests. --- modules/profile/profile.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/profile') diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 1da4c6f47..8cac6d797 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -544,7 +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] = 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