Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql,v diff -u -r1.43 -r1.44 --- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 6 Jul 2005 23:31:01 -0000 1.43 +++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 8 Sep 2005 02:09:01 -0000 1.44 @@ -643,10 +643,6 @@ join_rec record; begin - if v_table_name is null then - return 0; - end if; - for join_rec in select ot2.table_name, ot2.id_column, tree_level(ot2.tree_sortkey) as level from acs_object_types ot1, acs_object_types ot2 where ot2.object_type <> ''acs_object''