Commit 3635af95 authored by Frank Bergmann's avatar Frank Bergmann

- fixed issue with PG 8.1

parent 039b0841
...@@ -72,7 +72,7 @@ ad_proc -public im_timesheet_workflow_spawn_update_workflow { ...@@ -72,7 +72,7 @@ ad_proc -public im_timesheet_workflow_spawn_update_workflow {
# Mark all hours in the included conf_obj as included # Mark all hours in the included conf_obj as included
db_dml update_hours " db_dml update_hours "
update im_hours hh update im_hours
set conf_object_id = :conf_object_id set conf_object_id = :conf_object_id
from ( from (
select h.* select h.*
...@@ -88,9 +88,9 @@ ad_proc -public im_timesheet_workflow_spawn_update_workflow { ...@@ -88,9 +88,9 @@ ad_proc -public im_timesheet_workflow_spawn_update_workflow {
h.user_id = :wf_user_id h.user_id = :wf_user_id
) h ) h
where where
hh.day = h.day and im_hours.day = h.day and
hh.user_id = h.user_id and im_hours.user_id = h.user_id and
hh.project_id = h.project_id im_hours.project_id = h.project_id
" "
......
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