Browse files

Minor changes

  • Loading branch information...
1 parent 9ccbad7 commit e3f0a6a737448b17700dd63cd5ba6475ef7b4c82 martin committed Jun 25, 2002
Showing with 2 additions and 2 deletions.
  1. +1 −1 course/weeks.php
  2. +1 −1 lib/db/mysql.sql
View
2 course/weeks.php
@@ -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
2 lib/db/mysql.sql
@@ -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',

0 comments on commit e3f0a6a

Please sign in to comment.