Commit 1e74fe2d authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix error in combo selection box.

parent d66339cc
......@@ -197,7 +197,7 @@ if (intval($obj->timesheet_worked)) {
$newdate->setDate($obj->timesheet_period,DATE_FORMAT_UNIXTIME);
$newdate->setMonth(1);
?>
<select name="timesheet_period" size="1' class="text" onChange="periodChange();">
<select name="timesheet_period" size="1" class="text" onChange="periodChange();">
<option <?php if ($period->getMonth() == 1) echo "selected"; ?> value=<?php echo '"'. $newdate->getTime() .'"'; ?>><?php echo dPformSafe('January'); ?></option> <?php $newdate->setMonth(2); ?>
<option <?php if ($period->getMonth() == 2) echo "selected"; ?> value=<?php echo '"'. $newdate->getTime() .'"'; ?>><?php echo dPformSafe('February'); ?></option> <?php $newdate->setMonth(3); ?>
<option <?php if ($period->getMonth() == 3) echo "selected"; ?> value=<?php echo '"'. $newdate->getTime() .'"'; ?>><?php echo dPformSafe('March'); ?></option> <?php $newdate->setMonth(4); ?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment