workaround by Dan for bug #6130, fixed some warnings; merged from MOODLE_16_STABLE

This commit is contained in:
skodak 2006-07-17 07:31:22 +00:00
parent 63aea8815d
commit 639835274c
2 changed files with 5 additions and 2 deletions

View file

@ -29,9 +29,9 @@
<?php print_string('eventdate', 'calendar'); ?>:
</td>
<td>
<?php print_date_selector('startday', 'startmon', 'startyr', $form->timestart);?>
<?php print_date_selector('startday', 'startmon', 'startyr', (int)$form->timestart);?>
<?php print_string('eventtime', 'calendar');?>
<?php print_time_selector('starthr', 'startmin', $form->timestart) ?>
<?php print_time_selector('starthr', 'startmin', (int)$form->timestart) ?>
<?php if (isset($err['timestart'])) formerr($err['timestart']); ?>
</td>
</tr>