diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-03 14:10:08 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-03 14:10:08 +0200 |
commit | cc2a438199b02c78e5b2e2b71de8e56f6617eae9 (patch) | |
tree | 7ddbeba11a3c16ada13663e7b3bba9bef0f96ca6 /includes/util/banner.inc | |
parent | 48afc99d05c7bcd54231f340635f5102a03fbda4 (diff) | |
download | pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.gz pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.bz2 pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.zip |
Updated 15 files (automated)
Diffstat (limited to 'includes/util/banner.inc')
-rw-r--r-- | includes/util/banner.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/util/banner.inc b/includes/util/banner.inc index 388e4b1..6c6b128 100644 --- a/includes/util/banner.inc +++ b/includes/util/banner.inc @@ -292,7 +292,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { $badges[] = [ "id" => "fictive", "color" => "info", - "html" => '<span data-bs-toggle="tooltip" data-bs-html="true" title="<b>Fictive</b><br>' . ucfirst(getMemberPronouns($member['pronouns'])["subjective"]) . ' ' . (getMemberPronouns($member['pronouns'])["third"] ? "is" : "are") . ' based on the personality, look and behavior of a character that is from Equestria." class="badge rounded-pill bg-info" style="height: 24px;"><img style="width: 16px;" src="/assets/logo/equestria.png"><span style="vertical-align: middle;"> Fictive</span></span>' + "html" => '<span data-bs-toggle="tooltip" data-bs-html="true" title="<b>Equestrian</b><br>' . ucfirst(getMemberPronouns($member['pronouns'])["subjective"]) . ' ' . (getMemberPronouns($member['pronouns'])["third"] ? "is" : "are") . ' based on the personality, look and behavior of a character that is from Equestria." class="badge rounded-pill bg-info" style="height: 24px;"><img style="width: 16px;" src="/assets/logo/equestria.png"><span style="vertical-align: middle;"> Equestrian</span></span>' ]; } @@ -368,7 +368,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { ]; } - if (($isLoggedIn || $isLowerLoggedIn) && $metadata["alcohol"] !== null && $metadata["alcohol"] !== false) { + if (($isLoggedIn || $isLowerLoggedIn) && isset($metadata["alcohol"]) && $metadata["alcohol"] !== false) { $badges[] = [ "id" => "alcohol", "color" => "secondary", |