Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
unset($section['coursetitle']);

// If it's online, don't bother looking up the times
if($section['type'] == "O") {
if($section['type'] == "OL") {
$section['online'] = true;
} else {
// Look up the times the section meets
Expand Down
2 changes: 1 addition & 1 deletion inc/databaseConn.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function getMeetingInfo($sectionData) {
"courseParentNum" => "{$sectionData['department']}-{$sectionData['course']}",
"courseId" => $sectionData['courseId'],
"id" => $sectionData['id'],
"online" => $sectionData['type'] == "O",
"online" => $sectionData['type'] == "OL",
"credits" => $sectionData['credits']
);

Expand Down