From: Tim Düsterhus Date: Tue, 26 Nov 2013 10:21:34 +0000 (+0100) Subject: Fix typo in IPB3xExporter X-Git-Tag: 2.0.0_RC_3~6^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e9e1ae0326d693e9e12289ef29cf8894ccfae04;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Fix typo in IPB3xExporter Thanks @Gravatronics --- diff --git a/files/lib/system/exporter/IPB3xExporter.class.php b/files/lib/system/exporter/IPB3xExporter.class.php index d9f2fc3..9430615 100644 --- a/files/lib/system/exporter/IPB3xExporter.class.php +++ b/files/lib/system/exporter/IPB3xExporter.class.php @@ -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 +}