Revert assignment change in datetime

This commit is contained in:
Hypolite Petovan 2018-01-04 22:51:38 -05:00
parent 6cfd3f589f
commit c544258627
1 changed files with 3 additions and 1 deletions

View File

@ -536,7 +536,9 @@ function cal($y = 0, $m = 0, $links = null, $class = '')
$o .= '</tr><tr>';
while ($d <= $l) {
$started = (($dow == $f) && (!$started));
if (($dow == $f) && (! $started)) {
$started = true;
}
$today = (((isset($tddate)) && ($tddate == $d)) ? "class=\"today\" " : '');
$o .= "<td $today>";