Index: openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl,v diff -u -r1.14 -r1.15 --- openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 11 Dec 2001 02:59:26 -0000 1.14 +++ openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 11 Dec 2001 04:12:44 -0000 1.15 @@ -162,12 +162,12 @@ # Now for the user workspace # set this calendar_id in the workspace portal - set wsp_id [dotlrn::get_workspace_portal_id $user_id] + set workspace_portal_id [dotlrn::get_workspace_portal_id $user_id] # get the comm's calendar_id, and add it as a param to the # ws portal's calendar portal element if { $workspace_portal_id != "" } { - calendar_portlet::add_self_to_page $wsp_id $g_cal_id + calendar_portlet::add_self_to_page $workspace_portal_id $g_cal_id } }