Skip to content

Commit c45b08c

Browse files
authored
Merge pull request #147 from ComputerScienceHouse/develop
Merge develop into master
2 parents 5ef6e38 + 83a9793 commit c45b08c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
unset($section['coursetitle']);
208208

209209
// If it's online, don't bother looking up the times
210-
if($section['type'] == "O") {
210+
if($section['type'] == "OL") {
211211
$section['online'] = true;
212212
} else {
213213
// Look up the times the section meets

inc/databaseConn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function getMeetingInfo($sectionData) {
6666
"courseParentNum" => "{$sectionData['department']}-{$sectionData['course']}",
6767
"courseId" => $sectionData['courseId'],
6868
"id" => $sectionData['id'],
69-
"online" => $sectionData['type'] == "O",
69+
"online" => $sectionData['type'] == "OL",
7070
"credits" => $sectionData['credits']
7171
);
7272

0 commit comments

Comments
 (0)