From fa7bdea30a2d8372f390fff6bf9ab69b967262cb Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Tue, 24 Aug 2021 03:26:02 +0200 Subject: [PATCH] "bi" is also in les_bi_an, fixed recognition --- src/gdImg/gd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdImg/gd.php b/src/gdImg/gd.php index 3443978..15c29bb 100644 --- a/src/gdImg/gd.php +++ b/src/gdImg/gd.php @@ -4,7 +4,7 @@ function flagGetFromUser($p){ $o = strtoupper($p->orient." ".$p->gender); //orientations, sexual 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("ASE", $o)) $re[]= "asex"; if (contains("GAY", $o)) $re[]= "gay";