Skip to content

Commit

Permalink
IOMAD: local/email_reports/classes/task/manager_digest_task has an un…
Browse files Browse the repository at this point in the history
…defined variable #1830
  • Loading branch information
turf212 committed May 6, 2023
1 parent 730fd10 commit 2d2875a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/email_reports/classes/task/manager_digest_task.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function execute() {
WHERE c.visible = 1
AND cc.userid IN (" . $departmentids . ")
AND cc.timecompleted > :weekago",
array('weekago' => $timenow - (60 * 60 * 24 * 7)))) {
array('weekago' => $runtime - (60 * 60 * 24 * 7)))) {
foreach ($managerusers as $manageruser) {
$datestring = date($CFG->iomad_date_format, $manageruser->timecompleted) . "\n";

Expand Down

0 comments on commit 2d2875a

Please sign in to comment.