Commit e35f8d2d authored by Frank Bergmann's avatar Frank Bergmann

- Fixed rule

parent 2782fb92
......@@ -14,7 +14,7 @@ SELECT im_rule__new(
'[db_string task_start_notification_cond "
select count(*) from im_timesheet_tasks t, im_projects p where
t.task_id = p.project_id and t.task_id = $new(task_id) and
0 == (select count(*) from im_rule_logs where rule_log_object_id = t.task_id and rule_log_error_source = ''task_start_notification'') and
not exists (select count(*) from im_rule_logs where rule_log_object_id = t.task_id and rule_log_error_source = ''task_start_notification'') and
p.start_date <= now() and p.end_date >= now()
"]'
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment