Fix typo in IPB3xExporter
authorTim Düsterhus <timwolla@googlemail.com>
Tue, 26 Nov 2013 10:21:34 +0000 (11:21 +0100)
committerTim Düsterhus <timwolla@googlemail.com>
Tue, 26 Nov 2013 10:21:34 +0000 (11:21 +0100)
Thanks @Gravatronics

files/lib/system/exporter/IPB3xExporter.class.php

index d9f2fc3a150e3cefd25de1cab3733b7154c32aa6..9430615ff940ad9a832bd1e6e8e88cae538cf3e3 100644 (file)
@@ -237,7 +237,7 @@ class IPB3xExporter extends AbstractExporter {
                        if (isset($knownProfileFields['gender']) && !empty($row['field_'.$knownProfileFields['gender']['pf_id']])) {
                                $gender = $row['field_'.$knownProfileFields['gender']['pf_id']];
                                if ($gender == 'm') $options['gender'] = UserProfile::GENDER_MALE;
-                               if ($gender == 'f') $options['gender'] = UserProfile::GENDER_MALE;
+                               if ($gender == 'f') $options['gender'] = UserProfile::GENDER_FEMALE;
                        }
                        
                        $additionalData = array(
@@ -1058,4 +1058,4 @@ class IPB3xExporter extends AbstractExporter {
 
                return $string;
        }
-}
\ No newline at end of file
+}