diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-18 00:56:06 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-18 00:56:06 -0700 |
commit | e30853303f6ef852e6d8f46ce07c9e8af14de63b (patch) | |
tree | 7a7c7c1351c86fffdedb34ce772d8d9867ea2c6f /modules/profile | |
parent | dafc861fa3b0bf474524f04b9d9d1b7bfe67d27f (diff) | |
download | brdo-e30853303f6ef852e6d8f46ce07c9e8af14de63b.tar.gz brdo-e30853303f6ef852e6d8f46ce07c9e8af14de63b.tar.bz2 |
Issue #348448 follow-up by jbrown: Coding standard fixes to E_STRICT tests.
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile.module | 2 |
1 files changed, 1 insertions, 1 deletions
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; |