summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-04-09 16:06:34 +0200
committerRaindropsSys <contact@minteck.org>2023-04-09 16:06:34 +0200
commitc0f02227a847b0baa6a2e7169c24ce948e43b060 (patch)
treec68d6ba5082b5a9192c6ba405a2dd3ec754b723c
parent4f78a830b8f0408a80c3c344d24bfb1268b3b0d2 (diff)
downloadpluralconnect-c0f02227a847b0baa6a2e7169c24ce948e43b060.tar.gz
pluralconnect-c0f02227a847b0baa6a2e7169c24ce948e43b060.tar.bz2
pluralconnect-c0f02227a847b0baa6a2e7169c24ce948e43b060.zip
Updated pages/travelling.inc (automated)
-rw-r--r--pages/travelling.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/travelling.inc b/pages/travelling.inc
index cfbd4ac..6d8db7b 100644
--- a/pages/travelling.inc
+++ b/pages/travelling.inc
@@ -123,10 +123,10 @@ global $travelling;
<h2>System travelling</h2>
<?php foreach ([
...array_values(array_filter(scoreOrderGlobal(), function ($i) use ($travelling) {
- return $travelling[$i['id']]["travelling"];
+ return $travelling[$i['id']]["travelling"] && ($i["_system"] === "gdapd" || $i["_system"] === "ynmuc");
})),
...array_values(array_filter(scoreOrderGlobal(), function ($i) use ($travelling) {
- return !$travelling[$i['id']]["travelling"];
+ return !$travelling[$i['id']]["travelling"] && ($i["_system"] === "gdapd" || $i["_system"] === "ynmuc");
}))
] as $member): ?>
<div class="relation" style="background-color:rgba(255, 255, 255, .1);margin-bottom:10px;padding:10px;border-radius:10px;display:grid;grid-template-columns: 1fr 2fr max-content;">