From 90866cd29c96f6636b6dc0239c5a188ab472370c Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Tue, 24 Aug 2021 03:37:01 +0200 Subject: [PATCH] Improved bi detection, indenting --- src/gdImg/gd.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gdImg/gd.php b/src/gdImg/gd.php index 1e2c795..6c90149 100644 --- a/src/gdImg/gd.php +++ b/src/gdImg/gd.php @@ -3,11 +3,12 @@ function flagGetFromUser($p){ $re=[]; $o = strtoupper($p->orient." ".$p->gender); //orientations, sexual - if (contains("LESB", $o)) $re[]= "lesbian"; - if ("BI" == explode(" ",$o)[0]) $re[]="bi"; + if (contains("LESB", $o)) $re[]= "lesbian"; + if ("BI" == explode(" ",$o)[0]) $re[]="bi"; if (contains("ACE", $o)) $re[]= "asex"; if (contains("ASE", $o)) $re[]= "asex"; if (contains("GAY", $o)) $re[]= "gay"; + if (contains("BIS", $o)) $re[]= "bi"; if (contains("BSX", $o)) $re[]= "bi"; if (contains("PAN", $o)) $re[]= "pan"; if (contains("LELL", $o)) $re[]= "lesbian";