The specificdate-Trigger gets the dates as strings from the user when setting up a workflow.
To decide when to run the workflow the dates are parsed and compared to 'timelastrun'.
In line 76 in specificdate/lib.php a identical operator is used:
else if ($dateparts['mon'] === $lastrun['mon']) {...
$dateparts['mon'] comes from parse_dates($datesraw) in line 110 which doesn't convert the given dates into integer.
Since $lastrun['mon'] is represented as integer the else if.. is never true.
The specificdate-Trigger gets the dates as strings from the user when setting up a workflow.
To decide when to run the workflow the dates are parsed and compared to 'timelastrun'.
In line 76 in specificdate/lib.php a identical operator is used:
else if ($dateparts['mon'] === $lastrun['mon']) {...
$dateparts['mon']
comes fromparse_dates($datesraw)
in line 110 which doesn't convert the given dates into integer. Since$lastrun['mon']
is represented as integer theelse if..
is never true.