fixed gender labels
This commit is contained in:
parent
b64cef5627
commit
3422d6b46c
@ -915,8 +915,10 @@ function process_singles(&$suffixes, &$prefixes, &$values, $greetings_token_name
|
|||||||
$gender_id = $contact_dao->gender_id;
|
$gender_id = $contact_dao->gender_id;
|
||||||
if ($gender_id == 1){
|
if ($gender_id == 1){
|
||||||
$gender_label = "Female";
|
$gender_label = "Female";
|
||||||
}else{
|
}else if($gender_id == 2){
|
||||||
$gender_label = "Male";
|
$gender_label = "Male";
|
||||||
|
}else{
|
||||||
|
$gender_label = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$cur_prefix = $prefix_label;
|
$cur_prefix = $prefix_label;
|
||||||
@ -991,8 +993,10 @@ function process_singles(&$suffixes, &$prefixes, &$values, $greetings_token_name
|
|||||||
$gender_id = $contact_dao->gender_id;
|
$gender_id = $contact_dao->gender_id;
|
||||||
if ($gender_id == 1){
|
if ($gender_id == 1){
|
||||||
$gender_label = "Female";
|
$gender_label = "Female";
|
||||||
}else{
|
}else if($gender_id == 2){
|
||||||
$gender_label = "Male";
|
$gender_label = "Male";
|
||||||
|
}else{
|
||||||
|
$gender_label = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$cur_prefix = $prefix_label;
|
$cur_prefix = $prefix_label;
|
||||||
|
Loading…
Reference in New Issue
Block a user