Index: openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql,v
diff -u -N -r1.48 -r1.49
--- openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql	15 Mar 2010 00:21:16 -0000	1.48
+++ openacs-4/packages/acs-kernel/sql/oracle/apm-create.sql	23 Mar 2010 16:21:05 -0000	1.49
@@ -1582,14 +1582,17 @@
     register_parameter.default_value, register_parameter.section_name, 
 	register_parameter.min_n_values, register_parameter.max_n_values);
     -- Propagate parameter to new instances.	
-    for pkg in (select package_id from apm_packages where package_key = register_parameter.package_key)
-      loop
-      	v_value_id := apm_parameter_value.new(
-	    package_id => pkg.package_id,
-	    parameter_id => v_parameter_id, 
-	    attr_value => register_parameter.default_value
-	    ); 	
-      end loop;		
+    if register_parameter.scope = 'instance' then
+      for pkg in (select package_id from apm_packages where package_key = register_parameter.package_key)
+        loop
+        	v_value_id := apm_parameter_value.new(
+  	    package_id => pkg.package_id,
+  	    parameter_id => v_parameter_id, 
+  	    attr_value => register_parameter.default_value
+  	    ); 	
+        end loop;		
+    end if;
+
     return v_parameter_id;
   end register_parameter;
 
