summaryrefslogtreecommitdiff
path: root/includes/components
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-04-19 18:14:25 +0200
committerRaindropsSys <contact@minteck.org>2023-04-19 18:14:25 +0200
commitd279cb3eefb78ff539433d001ea19ce3a33d1576 (patch)
tree8cd222b97fd09ba07c1bf1551923118e3ab2b4ab /includes/components
parent9161d7c342e71612d2e8ebf5290dcbbe9eaaa483 (diff)
downloadpluralconnect-d279cb3eefb78ff539433d001ea19ce3a33d1576.tar.gz
pluralconnect-d279cb3eefb78ff539433d001ea19ce3a33d1576.tar.bz2
pluralconnect-d279cb3eefb78ff539433d001ea19ce3a33d1576.zip
Updated 2 files (automated)
Diffstat (limited to 'includes/components')
-rw-r--r--includes/components/planner.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/components/planner.inc b/includes/components/planner.inc
index aed4e56..af2f350 100644
--- a/includes/components/planner.inc
+++ b/includes/components/planner.inc
@@ -278,7 +278,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis
<td colspan="10" style="padding: 0;border:none;">
<div style="padding: 5px 10px;border: 1px solid #404040;margin:-1px;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;">
<?php if (count($dayCloudburst) > 0 && count($dayRaindrops) > 0): ?>
- <?= getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["name"] ?> will sleep with <?= getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["name"] ?><?= school(time() + 86400 * $diff, false) ?>
+ <?= getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["name"] ?><?php if (isset($dayCloudburst[count($dayCloudburst) - 1][1])): echo(" and " . getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][1])["display_name"] ?? getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][1])["name"]); endif; ?> will sleep with <?= getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["name"] ?><?php if (isset($dayRaindrops[count($dayRaindrops) - 1][1])): echo(" and " . getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][1])["display_name"] ?? getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][1])["name"]); endif; ?>
<?php else: ?>
<?= school(time() + 86400 * $diff, true) ?>
<?php endif; ?>