Index: openacs-4/packages/acs-tcl/tcl/application-data-link-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/application-data-link-procs.tcl,v diff -u -N -r1.9 -r1.9.2.1 --- openacs-4/packages/acs-tcl/tcl/application-data-link-procs.tcl 14 May 2007 20:30:26 -0000 1.9 +++ openacs-4/packages/acs-tcl/tcl/application-data-link-procs.tcl 2 Aug 2009 19:53:16 -0000 1.9.2.1 @@ -218,7 +218,7 @@ if {[info exists to_type] && $to_type ne ""} { set to_type_clause [db_map to_type_where_clause] - if {[content::type::is_content_type -content_type $to_type]} { + if {[content::type::is_content_type -object_type $to_type]} { set to_type_clause [db_map content_type_where_clause] set content_type_from_clause [db_map content_type_from_clause] }