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.4 -r1.5 --- openacs-4/packages/static-portlet/tcl/static-portal-content-procs.tcl 2 Apr 2002 06:13:47 -0000 1.4 +++ openacs-4/packages/static-portlet/tcl/static-portal-content-procs.tcl 16 Apr 2002 13:55:32 -0000 1.5 @@ -59,7 +59,12 @@ } { db_transaction { # Generate the element - set element_id [portal::add_element -pretty_name [get_pretty_name -content_id $content_id] -force_region 1 $portal_id [static_portlet::my_name]] + set element_id [portal::add_element \ + -pretty_name [get_pretty_name -content_id $content_id] \ + -force_region 1 \ + $portal_id \ + [static_portlet::my_name] + ] # Set the parameter portal::set_element_param $element_id content_id $content_id