From ae766d28c07628e71629a72452261898ea72057a Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 21 Dec 2022 18:09:20 +0100 Subject: Update - This is an automated commit --- includes/banner.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'includes/banner.inc') diff --git a/includes/banner.inc b/includes/banner.inc index 4678a5a..1d33b43 100644 --- a/includes/banner.inc +++ b/includes/banner.inc @@ -66,7 +66,11 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { $prefixes = []; foreach ($member['proxy_tags'] as $proxy) { if ($travelling[$member['id']]["travelling"]) { - $prefixes[] = "+" . $proxy["prefix"] . ($proxy["suffix"] !== "" && $proxy["suffix"] !== null ? "..." . $proxy["suffix"] : ""); + if (isset($travelling[$member['id']]['equestria']) && $travelling[$member['id']]['equestria']) { + $prefixes[] = null; + } else { + $prefixes[] = "+" . $proxy["prefix"] . ($proxy["suffix"] !== "" && $proxy["suffix"] !== null ? "..." . $proxy["suffix"] : ""); + } } else { $prefixes[] = $proxy["prefix"] . ($proxy["suffix"] !== "" && $proxy["suffix"] !== null ? "..." . $proxy["suffix"] : ""); } -- cgit