Index: openacs-4/packages/cms/sql/postgresql/cms-publishing-wf.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cms/sql/postgresql/cms-publishing-wf.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/cms/sql/postgresql/cms-publishing-wf.sql	22 May 2001 22:46:13 -0000	1.3
+++ openacs-4/packages/cms/sql/postgresql/cms-publishing-wf.sql	14 Jun 2001 00:28:06 -0000	1.4
@@ -66,7 +66,7 @@
   v_result                         boolean;
 begin
 
-    v_next_place := workflow_case__get_attribute_value(case_id,''next_place'');
+    v_next_place := workflow_case__get_attribute_value(p_case_id,''next_place'');
 
     if v_next_place = p_place_key then
       v_result := ''t'';
@@ -144,7 +144,7 @@
 insert into wf_arcs (
   workflow_key, transition_key, place_key, direction, guard_callback
 ) values (
-  'publishing_wf', 'authoring', 'authored', 'out', 'publishing_wf.is_next'
+  'publishing_wf', 'authoring', 'authored', 'out', 'publishing_wf__is_next'
 );
 
 insert into wf_arcs (
@@ -172,13 +172,13 @@
 insert into wf_arcs (
   workflow_key, transition_key, place_key, direction, guard_callback
 ) values (
-  'publishing_wf', 'editing', 'edited', 'out', 'publishing_wf.is_next'
+  'publishing_wf', 'editing', 'edited', 'out', 'publishing_wf__is_next'
 );
 
 insert into wf_arcs (
   workflow_key, transition_key, place_key, direction, guard_callback
 ) values (
-  'publishing_wf', 'editing', 'start', 'out', 'publishing_wf.is_next'
+  'publishing_wf', 'editing', 'start', 'out', 'publishing_wf__is_next'
 );
 
 insert into wf_arcs (
@@ -201,19 +201,19 @@
 insert into wf_arcs (
   workflow_key, transition_key, place_key, direction, guard_callback
 ) values (
-  'publishing_wf', 'approval', 'end', 'out', 'publishing_wf.is_next'
+  'publishing_wf', 'approval', 'end', 'out', 'publishing_wf__is_next'
 );
 
 insert into wf_arcs (
   workflow_key, transition_key, place_key, direction, guard_callback
 ) values (
-  'publishing_wf', 'approval', 'authored', 'out', 'publishing_wf.is_next'
+  'publishing_wf', 'approval', 'authored', 'out', 'publishing_wf__is_next'
 );
 
 insert into wf_arcs (
   workflow_key, transition_key, place_key, direction, guard_callback
 ) values (
-  'publishing_wf', 'approval', 'start', 'out', 'publishing_wf.is_next'
+  'publishing_wf', 'approval', 'start', 'out', 'publishing_wf__is_next'
 );
 
 
