--- loncom/interface/lonpopulate.pm 2008/03/12 02:45:07 1.54 +++ loncom/interface/lonpopulate.pm 2008/04/30 23:54:59 1.55 @@ -1,5 +1,5 @@ # automated enrollment configuration handler -# $Id: lonpopulate.pm,v 1.54 2008/03/12 02:45:07 raeburn Exp $ +# $Id: lonpopulate.pm,v 1.55 2008/04/30 23:54:59 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2697,7 +2697,7 @@ sub print_viewclass_response { } elsif ($newtype eq '') { $newlock = '1'; } - my $modreply = &Apache::lonnet::modify_student_enrollment($udom,$uname,$uid,'','','','',$section,$end,$start,$newtype,$newlock,$cid); + my $modreply = &Apache::lonnet::modify_student_enrollment($udom,$uname,$uid,'','','','',$section,$end,$start,$newtype,$newlock,$cid,'','chgtype'); if ($modreply eq 'ok') { $chgok ++; $chg{$student} = "Changed to $change"; @@ -2729,7 +2729,7 @@ sub print_viewclass_response { $newlockname = &mt('unlocked'); $oldlockname = &mt('locked'); } - my $lockreply = &Apache::lonnet::modify_student_enrollment($udom,$uname,$uid,'','','','',$section,$end,$start,$type,$newlock,$cid); + my $lockreply = &Apache::lonnet::modify_student_enrollment($udom,$uname,$uid,'','','','',$section,$end,$start,$type,$newlock,$cid,'','chgtype'); if ($lockreply eq 'ok') { $lockok ++; $lockchg{$student} = 'Changed to '.$newlockname;