diff options
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile.admin.inc | 4 | ||||
-rw-r--r-- | modules/profile/profile.pages.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc index 01f3bda32..262254ee4 100644 --- a/modules/profile/profile.admin.inc +++ b/modules/profile/profile.admin.inc @@ -175,7 +175,7 @@ function profile_field_form(&$form_state, $arg = NULL) { drupal_not_found(); return; } - drupal_set_title(t('edit %title', array('%title' => $edit['title'])), PASS_THROUGH); + drupal_set_title(t('edit %title', array('%title' => $edit['title']))); $form['fid'] = array('#type' => 'value', '#value' => $fid, ); @@ -193,7 +193,7 @@ function profile_field_form(&$form_state, $arg = NULL) { return; } $type = $arg; - drupal_set_title(t('add new %type', array('%type' => $types[$type])), PASS_THROUGH); + drupal_set_title(t('add new %type', array('%type' => $types[$type]))); $edit = array('name' => 'profile_'); $form['type'] = array('#type' => 'value', '#value' => $type); } diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc index 4c1e3678c..6b98c7c84 100644 --- a/modules/profile/profile.pages.inc +++ b/modules/profile/profile.pages.inc @@ -73,7 +73,7 @@ function profile_browse() { $title = check_plain($field->page); } - drupal_set_title($title, PASS_THROUGH); + drupal_set_title($title); return $output; } elseif ($name && !$field->fid) { @@ -99,7 +99,7 @@ function profile_browse() { $output = theme('profile_wrapper', $content); $output .= theme('pager', NULL, 20); - drupal_set_title(t('User list'), PASS_THROUGH); + drupal_set_title(t('User list')); return $output; } } |