From 02eda3e4c9b4ba718f1fff70b7328ed8cdd5e63b Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sun, 2 Apr 2023 23:03:02 +0200 Subject: Updated 35 files, added 11 files and deleted includes/components/search.inc (automated) --- includes/util/banner.inc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'includes/util/banner.inc') diff --git a/includes/util/banner.inc b/includes/util/banner.inc index 1657233..947e5c6 100644 --- a/includes/util/banner.inc +++ b/includes/util/banner.inc @@ -1,6 +1,6 @@ $marefriend, "link" => "/" . ($mfMember["name"]), "icon" => getAsset($mfSystem, $mfMemberID, "heads"), @@ -212,7 +213,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { sort($mfMember); $mfMember = $mfMember[0]; - $sexfriends[] = [ + if (!($mfSystem === $app["other"]["id"] && !$isLoggedIn && !$isLowerLoggedIn)) $sexfriends[] = [ "id" => $marefriend, "link" => "/" . ($mfMember["name"]), "icon" => getAsset($mfSystem, $mfMemberID, "heads"), @@ -232,7 +233,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { sort($mfMember); $mfMember = $mfMember[0]; - $sisters[] = [ + if (!($mfSystem === $app["other"]["id"] && !$isLoggedIn && !$isLowerLoggedIn)) $sisters[] = [ "id" => $marefriend, "link" => "/" . ($mfMember["name"]), "icon" => getAsset($mfSystem, $mfMemberID, "heads"), @@ -254,7 +255,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { sort($mfMember); $mfMember = $mfMember[0]; - $caretakers[] = [ + if (!($mfSystem === $app["other"]["id"] && !$isLoggedIn && !$isLowerLoggedIn)) $caretakers[] = [ "id" => $marefriend, "link" => "/" . ($mfMember["name"]), "icon" => getAsset($mfSystem, $mfMemberID, "heads"), -- cgit