Index: openacs-4/packages/cms/sql/postgresql/cms-workflow.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cms/sql/postgresql/cms-workflow.sql,v
diff -u -N -r1.7 -r1.8
--- openacs-4/packages/cms/sql/postgresql/cms-workflow.sql	12 Jun 2001 04:13:46 -0000	1.7
+++ openacs-4/packages/cms/sql/postgresql/cms-workflow.sql	14 Jun 2001 00:28:06 -0000	1.8
@@ -564,7 +564,7 @@
       wf_tasks
     where
       task_id = p_task_id;
-
+   
     -- someone else has already holds this task
     -- we need to check in the task as the other person before 
     --    this user can check it out
@@ -595,13 +595,13 @@
 
       v_this_place := content_workflow__get_this_place( v_transition_key );
 
-      workflow_case__set_attribute_value(
+      PERFORM workflow_case__set_attribute_value(
           v_journal_id,
 	  ''next_place'',
 	  v_transition_key
       );
 
-      workflow_case__end_task_action(
+      PERFORM workflow_case__end_task_action(
           v_journal_id,
           ''start'',
           p_task_id
@@ -626,7 +626,7 @@
       end if;
 
     else
-      raise EXCEPTION ''-20000: Cannot check out this task because it is in an invalid state %'', v_task_state
+      raise EXCEPTION ''-20000: Cannot check out this task because it is in an invalid state %'', v_task_state;
     end if;
 
     return 0; 
@@ -858,13 +858,13 @@
           p_transition_key
       );
 
-      workflow_case__set_attribute_value(
+      PERFORM workflow_case__set_attribute_value(
           v_journal_id,
 	  ''next_place'',
 	  v_previous_place
       );
 
-      workflow_case__end_task_action(
+      PERFORM workflow_case__end_task_action(
           v_journal_id,
           ''finish'',
           p_task_id
