Index: openacs-4/packages/static-portlet/www/static-admin-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/www/static-admin-portlet.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/static-portlet/www/static-admin-portlet.tcl 6 May 2002 23:57:19 -0000 1.8 +++ openacs-4/packages/static-portlet/www/static-admin-portlet.tcl 12 May 2002 18:15:05 -0000 1.9 @@ -24,7 +24,7 @@ } array set config $cf -set instance_id $config(instance_id) +set package_id $config(package_id) set element_pretty_name [ad_parameter static_admin_portlet_element_pretty_name static-portlet "Custom Portlet"] set element_pretty_plural [ad_parameter static_admin_portlet_element_pretty_plural static-portlet "Custom Portlets"] @@ -33,7 +33,7 @@ select content_id, pretty_name from static_portal_content - where instance_id = :instance_id + where package_id = :package_id } set template_portal_id [dotlrn_community::get_portal_id]