Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v diff -u -r1.248 -r1.249 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 25 Nov 2009 11:38:29 -0000 1.248 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 8 Mar 2010 11:04:02 -0000 1.249 @@ -364,7 +364,7 @@ # to find one, where the current user has at least read # permissions. This act is required for sub-packages, which # might not have the script dir. - set first_instance_id [[$package_id info class] first_instance -party_id [::xo::cc user_id] -privilege read] + set first_instance_id [::xowiki::Package first_instance -party_id [::xo::cc user_id] -privilege read] if {$first_instance_id ne ""} { ::xowiki::Package require $first_instance_id set folder_spec [list script_dir [$first_instance_id package_url]]