--- loncom/interface/courseprefs.pm 2010/05/22 16:39:13 1.28 +++ loncom/interface/courseprefs.pm 2010/08/21 04:04:54 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set configuration settings for a course # -# $Id: courseprefs.pm,v 1.28 2010/05/22 16:39:13 raeburn Exp $ +# $Id: courseprefs.pm,v 1.29 2010/08/21 04:04:54 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1000,8 +1000,8 @@ sub process_changes { $hdr .= $env{'form.printfmthdr_limit_'.$i}; } $hdr .= $env{'form.printfmthdr_sub_'.$i}; - } elsif ($env{'form.printfmthdr_sub_'.$i} ne '') { - $hdr = $env{'form.printfmthdr_sub_'.$i}; + } elsif ($env{'form.printfmthdr_text_'.$i} ne '') { + $hdr = $env{'form.printfmthdr_text_'.$i}; } $newhdr[$env{'form.printfmthdr_pos_'.$i}] = $hdr; } @@ -3301,7 +3301,7 @@ sub substitution_selector { a => 'assignment note', ); my $output .= &mt('Substitution').'
'. - ''; if ($subst eq '') { $output .= ''; }