Index: openacs-4/contrib/packages/project-manager/sql/postgresql/project-manager-functions-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/sql/postgresql/Attic/project-manager-functions-create.sql,v
diff -u -r1.8.2.6 -r1.8.2.7
--- openacs-4/contrib/packages/project-manager/sql/postgresql/project-manager-functions-create.sql	5 Feb 2004 23:57:49 -0000	1.8.2.6
+++ openacs-4/contrib/packages/project-manager/sql/postgresql/project-manager-functions-create.sql	9 Feb 2004 16:27:22 -0000	1.8.2.7
@@ -280,7 +280,7 @@
 
 select define_function_args('pm_project__new_project_revision', 'item_id, project_name, project_code, parent_id, goal, description, planned_start_date, planned_end_date, actual_start_date, actual_end_date, ongoing_p, status_id, organization_id, creation_date, creation_user, creation_ip, package_id');
 
-create function pm_project__new_project_revision (
+create or replace function pm_project__new_project_revision (
         integer,        -- item_id
         varchar,        -- project_name
         varchar,        -- project_code
@@ -313,7 +313,7 @@
         p_actual_end_date                       alias for $10;
         p_ongoing_p                             alias for $11;
         p_status_id                             alias for $12;
-        p_organizaion_id                        alias for $13;
+        p_organization_id                       alias for $13;
         p_creation_date                         alias for $14;
         p_creation_user                         alias for $15;
         p_creation_ip                           alias for $16;
