summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/banner.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/banner.inc b/includes/banner.inc
index 4ad0583..5b9aa1b 100644
--- a/includes/banner.inc
+++ b/includes/banner.inc
@@ -477,7 +477,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) {
"offline" => "pf-$system-$id.webp"
],
'median' => $metadata["median"],
- 'little' => $metadata["little"] === 2,
+ 'little' => $metadata["little"] >= 2,
'name' => $member["display_name"] ?? $member["name"],
'badges' => $badges,
'prefixes' => $prefixes,
@@ -487,9 +487,9 @@ function getMemberBannerData(string $id, string $system, bool $french = false) {
'species' => $speciesList,
'system' => $systemData,
'relations' => [
- 'marefriends' => $marefriends,
- 'sisters' => $sisters,
- 'caretakers' => $caretakers
+ 'marefriends' => $marefriends ?? [],
+ 'sisters' => $sisters ?? [],
+ 'caretakers' => $caretakers ?? []
]
];
} \ No newline at end of file