diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-11 21:11:02 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-11 21:11:02 +0000 |
commit | ecf7ad41d0c3b8d4ea12e3883d3b5c9060eb2963 (patch) | |
tree | 264c817491a1484683e8adb2a2f47e344ef44717 /modules/profile/profile.admin.inc | |
parent | 4002681267044ab1d226ffeade7b8f6fface18ae (diff) | |
download | brdo-ecf7ad41d0c3b8d4ea12e3883d3b5c9060eb2963.tar.gz brdo-ecf7ad41d0c3b8d4ea12e3883d3b5c9060eb2963.tar.bz2 |
#242873 by pwolanin and bjaspan: Make drupal_set_title() do check_plain() by default.
Diffstat (limited to 'modules/profile/profile.admin.inc')
-rw-r--r-- | modules/profile/profile.admin.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc index 912378852..5219dffed 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']))); + drupal_set_title(t('edit %title', array('%title' => $edit['title'])), PASS_THROUGH); $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]))); + drupal_set_title(t('add new %type', array('%type' => $types[$type])), PASS_THROUGH); $edit = array('name' => 'profile_'); $form['type'] = array('#type' => 'value', '#value' => $type); } |