From: Hypolite Petovan Date: Fri, 5 Jan 2018 03:51:38 +0000 (-0500) Subject: Revert assignment change in datetime X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c544258627634b5d4b3f74abc28307867cefdfc6;p=friendica.git Revert assignment change in datetime --- diff --git a/include/datetime.php b/include/datetime.php index ee1dd1e6d3..1c9510c330 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 .= "";