We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a925610 commit d415dddCopy full SHA for d415ddd
Action/SubTaskEmailDue.php
@@ -68,14 +68,14 @@ public function hasRequiredCondition(array $data)
68
return count($data['tasks']) > 0;
69
}
70
71
- public function isTimeToSendEmail($project, $subtask)
+ public function isTimeToSendEmail($project, $task)
72
{
73
// Change $verbose to true while debugging
74
$verbose = false;
75
$verbose_prefix = $verbose ? "isTimeToSendEmail() - Task \"{$project['name']}::{$task['title']}({$task['id']})\" " : "";
76
77
// Don't send if the task doesn't have a due date
78
- if ($subtask['date_due'] == 0) {
+ if ($task['date_due'] == 0) {
79
$verbose && print "\n{$verbose_prefix}doesn't have a due date; Not time to send.";
80
81
return false;
0 commit comments