Revert assignment change in datetime
This commit is contained in:
parent
6cfd3f589f
commit
c544258627
1 changed files with 3 additions and 1 deletions
|
@ -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>";
|
||||
|
|
Loading…
Reference in a new issue