We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a4267f commit 464ec82Copy full SHA for 464ec82
trigger/specificdate/lib.php
@@ -67,7 +67,7 @@ public function get_course_recordset_where($triggerid) {
67
$datesraw = $settings['dates'];
68
$dates = $this->parse_dates($datesraw);
69
// Get timelastrunactive.
70
- $timelastrunactive = $settings['timelastrunactive'];
+ $timelastrunactive = $settings['timelastrunactive'] ?? false;
71
$lastrun = getdate($settings['timelastrun']);
72
$current = time();
73
$today = getdate($current);
0 commit comments