diff --git a/class.schedule.php b/class.schedule.php --- a/class.schedule.php +++ b/class.schedule.php @@ -69,7 +69,7 @@ class Schedule //-------------------------------------------------- // Adds a section to the desired class. //-------------------------------------------------- - function addSection($course_name, $letter, $time_start, $time_end, $days, $synonym = NULL, $faculty = NULL, $room = NULL) + function addSection($course_name, $letter, $time_start, $time_end, $days, $synonym = NULL, $faculty = NULL, $location = NULL) { $found = false; $counter = 0; @@ -96,7 +96,7 @@ class Schedule $section = new Section($letter, array(), $synonym, $faculty); $this->classStorage[$counter]->section_add($section); } - $section->meeting_add(new SectionMeeting($days, $time_start, $time_end, $room)); + $section->meeting_add(new SectionMeeting($days, $time_start, $time_end, $location)); } }