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.236 -r1.237 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 2 Jul 2009 10:49:05 -0000 1.236 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 21 Aug 2009 22:31:11 -0000 1.237 @@ -353,7 +353,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 [::xowiki::Package first_instance -party_id [::xo::cc user_id] -privilege read] + set first_instance_id [[$package_id info class] 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]]