Skip to content
Snippets Groups Projects
Commit f84bded9 authored by Uma's avatar Uma
Browse files

Fixes #1263 Redundant date comparsion has been alterted for datetime fields

parent be94f898
No related branches found
No related tags found
1 merge request!574Fixes #1263 Redundant date comparsion has been alterted for datetime fields
......@@ -368,7 +368,7 @@ class WorkFlowScheduler {
break;
case 'less than days later' :
$days = $condition['value']-1;
$days = $condition['value']+1;
if($fieldType[0] == 'D'){
$value = date('Y-m-d').','.date('Y-m-d', strtotime('+'.$days.' days'));
}else if($fieldType[0] == 'DT'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment