Minor changes

This commit is contained in:
martin 2002-06-25 12:08:38 +00:00
parent 9ccbad71e3
commit e3f0a6a737
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@
$course->enddate = $course->startdate + ($weekofseconds * $course->numsections);
echo "<TABLE BORDER=0 CELLPADDING=8 CELLSPACING=0 WIDTH=100%>";
while ($weekdate <= $course->enddate) {
while ($weekdate < $course->enddate) {
$nextweekdate = $weekdate + ($weekofseconds);

View File

@ -27,7 +27,7 @@ CREATE TABLE `course` (
`student` varchar(100) NOT NULL default 'Student',
`guest` tinyint(1) unsigned NOT NULL default '0',
`startdate` int(10) unsigned NOT NULL default '0',
`numsections` int(10) unsigned NOT NULL default '0',
`numsections` smallint(5) unsigned NOT NULL default '1',
`marker` int(10) unsigned NOT NULL default '0',
`timecreated` int(10) unsigned NOT NULL default '0',
`timemodified` int(10) unsigned NOT NULL default '0',