From c544258627634b5d4b3f74abc28307867cefdfc6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 4 Jan 2018 22:51:38 -0500 Subject: [PATCH] Revert assignment change in datetime --- include/datetime.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/datetime.php b/include/datetime.php index ee1dd1e6d..1c9510c33 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -536,7 +536,9 @@ function cal($y = 0, $m = 0, $links = null, $class = '') $o .= ''; while ($d <= $l) { - $started = (($dow == $f) && (!$started)); + if (($dow == $f) && (! $started)) { + $started = true; + } $today = (((isset($tddate)) && ($tddate == $d)) ? "class=\"today\" " : ''); $o .= "";