Index: openacs-4/packages/dotlrn-syllabus/tcl/syllabus-admin-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-syllabus/tcl/syllabus-admin-portlet-procs.tcl,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/dotlrn-syllabus/tcl/syllabus-admin-portlet-procs.tcl 13 Jun 2002 19:50:57 -0000 1.5 +++ openacs-4/packages/dotlrn-syllabus/tcl/syllabus-admin-portlet-procs.tcl 26 Jul 2002 02:05:02 -0000 1.6 @@ -46,10 +46,12 @@ } { Adds a syllabus admin portlet element to the specified portal } { - # this is simple, just use add_element, not add_element_parameters - return [portal::add_element \ + # we pass a fake key and value here, don't worry about it + return [portal::add_element_parameters \ -portal_id $portal_id \ - -portlet_name [get_my_name] + -portlet_name [get_my_name] \ + -key fake_key \ + -value fake_vale ] }