diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-09-09 08:25:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-09-09 08:25:24 +0000 |
commit | 35c33e3cf5b61fbf226116cb881f5e38c3a5103b (patch) | |
tree | eed91820a19836bac352e2325fae6c4a218b160f /modules/profile/profile.module | |
parent | afd01f2a61604138d0ddb22e7645a591161c6632 (diff) | |
download | brdo-35c33e3cf5b61fbf226116cb881f5e38c3a5103b.tar.gz brdo-35c33e3cf5b61fbf226116cb881f5e38c3a5103b.tar.bz2 |
- Patch #83222 by edkwh: more theme('placeholder') clean-up. Good catch.
Diffstat (limited to 'modules/profile/profile.module')
-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 d924a2366..0c40a10c7 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -344,7 +344,7 @@ function profile_field_form_submit($form_id, $form_values) { db_query("INSERT INTO {profile_fields} (title, name, explanation, category, type, weight, required, register, visibility, autocomplete, options, page) VALUES ('%s', '%s', '%s', '%s', '%s', %d, %d, %d, %d, %d, '%s', '%s')", $form_values['title'], $form_values['name'], $form_values['explanation'], $form_values['category'], $form_values['type'], $form_values['weight'], $form_values['required'], $form_values['register'], $form_values['visibility'], $form_values['autocomplete'], $form_values['options'], $form_values['page']); drupal_set_message(t('The field has been created.')); - watchdog('profile', t('Profile field %field added under category %category.', array('%field' => theme('placeholder', $form_values['title']), '%category' => theme('placeholder', $form_values['category']))), WATCHDOG_NOTICE, l(t('view'), 'admin/user/profile')); + watchdog('profile', t('Profile field %field added under category %category.', array('%field' => $form_values['title'], '%category' => $form_values['category'])), WATCHDOG_NOTICE, l(t('view'), 'admin/user/profile')); } else { db_query("UPDATE {profile_fields} SET title = '%s', name = '%s', explanation = '%s', category = '%s', weight = %d, required = %d, register = %d, visibility = %d, autocomplete = %d, options = '%s', page = '%s' WHERE fid = %d", $form_values['title'], $form_values['name'], $form_values['explanation'], $form_values['category'], $form_values['weight'], $form_values['required'], $form_values['register'], $form_values['visibility'], $form_values['autocomplete'], $form_values['options'], $form_values['page'], $form_values['fid']); |