X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdatetime.php;h=1c9510c3303bfab6b472f17023c0665e3cc2a68f;hb=05674206ba9a7c70c5e298e3925d95428abff78e;hp=ee1dd1e6d3f9d18c09012b139a336713e6b0c82d;hpb=819592c3bd295986fc52d1c3e3abd4e32cf48645;p=friendica.git 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 .= "";