Index: openacs-4/packages/static-portlet/tcl/static-portal-content-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/tcl/static-portal-content-procs.tcl,v diff -u -r1.16.6.2 -r1.16.6.3 --- openacs-4/packages/static-portlet/tcl/static-portal-content-procs.tcl 9 Aug 2004 05:31:53 -0000 1.16.6.2 +++ openacs-4/packages/static-portlet/tcl/static-portal-content-procs.tcl 10 Aug 2004 16:42:53 -0000 1.16.6.3 @@ -48,7 +48,7 @@ } { This is a bit different from other add_self_to_page procs. } { - + if {![empty_string_p $template_id]} { # we got a template_id, so we know that (1) that we are # being called from add_applet_to_community. That means that @@ -111,8 +111,8 @@ portal::set_element_param $element_id package_id $package_id portal::set_element_param $element_id content_id $content_id - } + return $element_id } ad_proc -public clone {