summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/profile/profile.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index c5360461e..9d11b0a9d 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -438,7 +438,7 @@ function profile_form_profile($edit, $user, $category, $register = FALSE) {
break;
case 'selection':
$options = $field->required ? array() : array('--');
- $lines = preg_split("/[,\n\r]/", $field->options);
+ $lines = preg_split("/[\n\r]/", $field->options);
foreach ($lines as $line) {
if ($line = trim($line)) {
$options[$line] = $line;