summaryrefslogtreecommitdiff
path: root/includes/sysbanner.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-02 20:29:01 +0100
committerMinteck <contact@minteck.org>2023-01-02 20:29:01 +0100
commite72d0adbcd7e69928a1ef380c7a841c160284c68 (patch)
tree1b9b9c29bb4fd39b6bdf577375bb91be3b9d6be1 /includes/sysbanner.inc
parentc9de96328e59816ff4867abf5feab9fb9bf29511 (diff)
downloadpluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.tar.gz
pluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.tar.bz2
pluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.zip
Update
Diffstat (limited to 'includes/sysbanner.inc')
-rw-r--r--includes/sysbanner.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sysbanner.inc b/includes/sysbanner.inc
index bafb10d..f9feb5c 100644
--- a/includes/sysbanner.inc
+++ b/includes/sysbanner.inc
@@ -82,7 +82,7 @@ $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pa
<?php
$travellers = array_filter(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/" . ($systemID === "gdapd" ? "ynmuc" : "gdapd") . "/members.json"), true), function ($i) use ($travelling) {
- return $travelling[$i['id']]['travelling'];
+ return $travelling[$i['id']]['travelling'] && !$travelling[$i['id']]['equestria'];
});
?>