Skip to content

Commit 4de461d

Browse files
committed
fix phpunit test
1 parent 5e37cc8 commit 4de461d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

classes/processor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ public function get_course_recordset($triggers, $nositecourse = true, $forcounti
379379
$debugsql = str_replace(":".$key, $value, $debugsql);
380380
}
381381
$SESSION->debugtriggersql = $debugsql;
382+
382383
return $DB->get_recordset_sql($sql, $whereparams);
383384
}
384385

trigger/semindependent/lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ public function get_course_recordset_where($triggerid) {
8383
$where = " NOT c.startdate < :semindepdate";
8484
} else {
8585
$where = "c.startdate < :semindepdate";
86-
// Date before which a course counts as semester independent. In this case the 1.1.2000.
87-
$params = ["semindepdate" => 946688400];
8886
}
87+
// Date before which a course counts as semester independent. In this case the 1.1.2000.
88+
$params = ["semindepdate" => 946688400];
8989
}
9090
return [$where, $params];
9191
}

0 commit comments

Comments
 (0)