summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 0261f1549..244c8804d 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -585,8 +585,7 @@ function template_preprocess_profile_wrapper(&$variables) {
$variables['current_field'] = '';
if ($field = arg(1)) {
$variables['current_field'] = $field;
- // Supply an alternate template suggestion based on the browsable field.
- $variables['template_files'][] = 'profile-wrapper-' . $field;
+ $variables['theme_hook_suggestions'][] = 'profile_wrapper__' . $field;
}
}