Commit 8bd8a972 authored by Steven Wittens's avatar Steven Wittens
Browse files

#108366: Fix type on profile help.

parent eb28074a
......@@ -307,7 +307,7 @@ function profile_field_form($arg = NULL) {
function profile_field_form_validate($form_id, $form_values) {
// Validate the 'field name':
if (eregi('[^a-z0-9_-]', $form_values['name'])) {
form_set_error('name', t('The specified form name contains one or more illegal characters. Spaces or any other special characters expect dash (-) and underscore (_) are not allowed.'));
form_set_error('name', t('The specified form name contains one or more illegal characters. Spaces or any other special characters except dash (-) and underscore (_) are not allowed.'));
}
if (in_array($form_values['name'], user_fields())) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment