Return to Enrollment.pm CVS log | Up to [LON-CAPA] / loncom / enrollment |
version 1.50, 2017/06/18 22:29:01 | version 1.51, 2017/09/18 14:21:45 |
---|---|
Line 329 sub update_LC { | Line 329 sub update_LC { |
} | } |
} | } |
# Check for institutional section change | # Check for institutional section change |
if ($$currlist{$uname}[$instidx] ne $instsec) { | if (($$currlist{$uname}[$instidx] ne $instsec) && (!$added)) { |
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/) { |