Skip to content

Commit 464ec82

Browse files
committed
fix behat test
1 parent 6a4267f commit 464ec82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trigger/specificdate/lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function get_course_recordset_where($triggerid) {
6767
$datesraw = $settings['dates'];
6868
$dates = $this->parse_dates($datesraw);
6969
// Get timelastrunactive.
70-
$timelastrunactive = $settings['timelastrunactive'];
70+
$timelastrunactive = $settings['timelastrunactive'] ?? false;
7171
$lastrun = getdate($settings['timelastrun']);
7272
$current = time();
7373
$today = getdate($current);

0 commit comments

Comments
 (0)