Return to Enrollment.pm CVS log | Up to [LON-CAPA] / loncom / enrollment |
version 1.54, 2019/08/25 02:43:09 | version 1.55, 2021/09/08 12:13:13 |
---|---|
Line 331 sub update_LC { | Line 331 sub update_LC { |
} | } |
} | } |
# Check for institutional section change | # Check for institutional section change |
if (($$currlist{$uname}[$instidx] ne $instsec) && (!$added)) { | if (($$currlist{$uname}[$instidx] ne $instsec) && (!$added) && ($$currlist{$uname}[$type] eq "auto")) { |
my $modify_instsec_result = | my $modify_instsec_result = |
&Apache::lonnet::modify_student_enrollment($dom,$uname,undef,undef,undef,undef,undef,$stuinfo[ $place{groupID} ],$enddate,$startdate,'auto','',$cid,'',$context,$credits,$instsec); | &Apache::lonnet::modify_student_enrollment($dom,$uname,undef,undef,undef,undef,undef,$stuinfo[ $place{groupID} ],$enddate,$startdate,'auto','',$cid,'',$context,$credits,$instsec); |
if ($modify_instsec_result =~ /^ok/) { | if ($modify_instsec_result =~ /^ok/) { |