summaryrefslogtreecommitdiff
path: root/includes/functions/functions_import.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions/functions_import.php')
-rw-r--r--includes/functions/functions_import.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/includes/functions/functions_import.php b/includes/functions/functions_import.php
index 16eed00bd0..151d55b3e6 100644
--- a/includes/functions/functions_import.php
+++ b/includes/functions/functions_import.php
@@ -462,21 +462,7 @@ function reformat_record_import($rec, Tree $tree) {
$tag = 'SSN';
break;
case 'SEX':
- switch (trim($data)) {
- case 'M':
- case 'F':
- case 'U':
- break;
- case 'm':
- $data = 'M';
- break;
- case 'f':
- $data = 'F';
- break;
- default:
- $data = 'U';
- break;
- }
+ $data = strtoupper($data);
break;
case 'SOURCE':
$tag = 'SOUR';