diff options
-rw-r--r-- | pages/travelling.inc | 4 |
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;"> |