--- loncom/interface/Attic/londropadd.pm 2003/07/02 15:25:46 1.70 +++ loncom/interface/Attic/londropadd.pm 2003/07/02 19:52:56 1.71 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to drop and add students in courses # -# $Id: londropadd.pm,v 1.70 2003/07/02 15:25:46 matthew Exp $ +# $Id: londropadd.pm,v 1.71 2003/07/02 19:52:56 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -79,7 +79,9 @@ sub modifystudent { # We are in this course my $section=$1; $section='' if ($course eq $courseid.'_st'); - if ( ((!$section) && (!$csec)) || ($section ne $csec) ) { + if ($section eq $csec) { + $result .= 'ok:'; + } elsif ( ((!$section) && (!$csec)) || ($section ne $csec) ) { my (undef,$end,$start)=split(/\_/,$roles{$course}); my $now=time; # if this is an active role