Index: openacs-4/packages/workflow/tcl/case-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/workflow/tcl/case-procs.tcl,v diff -u -r1.29 -r1.30 --- openacs-4/packages/workflow/tcl/case-procs.tcl 5 Feb 2004 10:37:33 -0000 1.29 +++ openacs-4/packages/workflow/tcl/case-procs.tcl 15 Mar 2004 14:04:06 -0000 1.30 @@ -1861,7 +1861,11 @@ @author Lars Pind (lars@collaboraid.biz) } { if { ![exists_and_not_null user_id] } { - set user_id [ad_conn user_id] + if { ![ad_conn isconnected] } { + set user_id 0 + } else { + set user_id [ad_conn user_id] + } } if { [empty_string_p $case_id] || [empty_string_p $action_id] } {