Index: openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl,v diff -u -r1.16.2.4 -r1.16.2.5 --- openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl 21 Jan 2005 20:35:00 -0000 1.16.2.4 +++ openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl 21 Jan 2005 20:38:31 -0000 1.16.2.5 @@ -173,15 +173,15 @@ -root_folder_id $content_root \ -resolve_index "f"] set item_info(content_type) [::content::item::get_content_type \ - -item_id $item_id] + -item_id $item_info(item_id)] # No item found, so do not handle this request if { [string equal "" $item_info(item_id)] } { set item_info(item_id) [::content::item::get_id -item_path $url \ -root_folder_id $content_root \ -resolve_index "f"] set item_info(content_type) [::content::item::get_content_type \ - -item_id $item_id] + -item_id $item_info(item_id)] if { [string equal "" $item_info(item_id)] } { ns_log notice "content::init: no content found for url $url" return 0