Skip to content

Commit 57152fe

Browse files
authored
Merge pull request #154 from lueking/iCalFix
Fixed iCal Generation
2 parents c45b08c + f77a592 commit 57152fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/schedule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function generateIcal($schedule) {
3434

3535
// We need to lookup the information about the quarter
3636
$term = $dbConn->real_escape_string($schedule['term']);
37-
$query = "SELECT start, end, breakstart, breakend FROM quarters WHERE quarter='{$term}'";
37+
$query = "SELECT start, end FROM quarters WHERE quarter='{$term}'";
3838
$result = $dbConn->query($query);
3939
$term = $result->fetch_assoc();
4040
$termStart = strtotime($term['start']);

0 commit comments

Comments
 (0)