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.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 802daca6c..73f5ef8a2 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -327,12 +327,12 @@ function profile_validate_profile($edit, $category) {
if ($edit[$field->name]) {
if ($field->type == 'url') {
if (!valid_url($edit[$field->name], true)) {
- form_set_error($field->name, t('The value provided for "%field" is not a valid URL.', array('%field' => $field->title)));
+ form_set_error($field->name, t('The value provided for %field is not a valid URL.', array('%field' => "<em>$field->title</em>")));
}
}
}
else if ($field->required && !user_access('administer users')) {
- form_set_error($field->name, t('The field "%field" is required.', array('%field' => $field->title)));
+ form_set_error($field->name, t('The field %field is required.', array('%field' => "<em>$field->title</em>")));
}
}