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 -r1.10 -r1.11
--- openacs-4/packages/cms/sql/postgresql/cms-workflow.sql	28 Aug 2001 23:31:30 -0000	1.10
+++ openacs-4/packages/cms/sql/postgresql/cms-workflow.sql	19 Nov 2001 19:47:42 -0000	1.11
@@ -1216,7 +1216,7 @@
   p_transition_key                 alias for $2;  
   p_user_id                        alias for $3;  
 begin
-    select
+    return
       count(task_id) > 0
     from
       wf_tasks t
