"bi" is also in les_bi_an, fixed recognition

This commit is contained in:
Mattia Mascarello 2021-08-24 03:26:02 +02:00 committed by GitHub
parent 3bd3923712
commit fa7bdea30a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ function flagGetFromUser($p){
$o = strtoupper($p->orient." ".$p->gender); $o = strtoupper($p->orient." ".$p->gender);
//orientations, sexual //orientations, sexual
if (contains("LESB", $o)) $re[]= "lesbian"; if (contains("LESB", $o)) $re[]= "lesbian";
if (contains("BI", $o)) $re[]="bi"; if ("BI" == $o) $re[]="bi";
if (contains("ACE", $o)) $re[]= "asex"; if (contains("ACE", $o)) $re[]= "asex";
if (contains("ASE", $o)) $re[]= "asex"; if (contains("ASE", $o)) $re[]= "asex";
if (contains("GAY", $o)) $re[]= "gay"; if (contains("GAY", $o)) $re[]= "gay";