]> git.mxchange.org Git - mailer.git/commitdiff
Fix for 'Unknown gender F'
authorRoland Häder <roland@mxchange.org>
Sun, 18 Jul 2010 01:11:40 +0000 (01:11 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 18 Jul 2010 01:11:40 +0000 (01:11 +0000)
inc/functions.php

index 5d929a993427cbf929300ff813c70a7dcf0ea7d9..4faea4e7f50a1a1b847f6f6b20ed0302746a1680 100644 (file)
@@ -405,9 +405,9 @@ function translateGender ($gender) {
 
        // Male/female or company?
        switch ($gender) {
-               case 'M':
-               case 'M':
-               case 'C':
+               case 'M': // Male
+               case 'F': // Female
+               case 'C': // Company
                        $ret = sprintf("{--GENDER_%s--}", $gender);
                        break;