Index: openacs-4/packages/calendar-portlet/www/calendar-list-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar-portlet/www/calendar-list-portlet.tcl,v diff -u -N -r1.9 -r1.9.2.1 --- openacs-4/packages/calendar-portlet/www/calendar-list-portlet.tcl 13 Jan 2005 13:56:59 -0000 1.9 +++ openacs-4/packages/calendar-portlet/www/calendar-list-portlet.tcl 2 Jun 2005 08:58:52 -0000 1.9.2.1 @@ -55,7 +55,7 @@ } if {[llength $list_of_calendar_ids] > 1} { - set force_calendar_id [calendar::have_private_p -return_id 1 -calendar_id_list $list_of_calendar_ids [ad_conn user_id]] + set force_calendar_id [calendar::have_private_p -return_id 1 -calendar_id_list $list_of_calendar_ids -party_id [ad_conn user_id]] } else { set force_calendar_id [lindex $list_of_calendar_ids 0] } 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 -N -r1.76 -r1.76.2.1 --- openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 13 Jan 2005 13:57:24 -0000 1.76 +++ openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 2 Jun 2005 08:58:52 -0000 1.76.2.1 @@ -312,7 +312,7 @@ @creation-date 2004-08-12 } { # reverse the things done by add_user - set calendar_id [calendar_have_private_p -return_id 1 $user_id] + set calendar_id [calendar::have_private_p -return_id 1 -party_id $user_id] if {$calendar_id} { calendar::get -calendar_id $calendar_id -array calendar_info