Index: openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql,v
diff -u -r1.2 -r1.2.4.1
--- openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql	11 May 2001 04:43:39 -0000	1.2
+++ openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql	27 Feb 2003 13:45:29 -0000	1.2.4.1
@@ -645,7 +645,8 @@
   select decode(count(*),0,0,1) into v_exists 
     from cr_type_children
     where parent_type = register_child_type.parent_type
-    and child_type = register_child_type.child_type;
+    and child_type = register_child_type.child_type
+    and relation_tag = register_child_type.relation_tag;
 
   if v_exists = 0 then
 
@@ -914,5 +915,3 @@
 
 end;
 /
-
-
