Skip to content

Commit d415ddd

Browse files
committed
change var related to #26
1 parent a925610 commit d415ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Action/SubTaskEmailDue.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ public function hasRequiredCondition(array $data)
6868
return count($data['tasks']) > 0;
6969
}
7070

71-
public function isTimeToSendEmail($project, $subtask)
71+
public function isTimeToSendEmail($project, $task)
7272
{
7373
// Change $verbose to true while debugging
7474
$verbose = false;
7575
$verbose_prefix = $verbose ? "isTimeToSendEmail() - Task \"{$project['name']}::{$task['title']}({$task['id']})\" " : "";
7676

7777
// Don't send if the task doesn't have a due date
78-
if ($subtask['date_due'] == 0) {
78+
if ($task['date_due'] == 0) {
7979
$verbose && print "\n{$verbose_prefix}doesn't have a due date; Not time to send.";
8080

8181
return false;

0 commit comments

Comments
 (0)