--- loncom/interface/domainprefs.pm 2018/08/14 21:42:39 1.337 +++ loncom/interface/domainprefs.pm 2018/10/22 13:46:14 1.339 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.337 2018/08/14 21:42:39 raeburn Exp $ +# $Id: domainprefs.pm,v 1.339 2018/10/22 13:46:14 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5033,7 +5033,7 @@ sub lti_options { $output .= $lt{$extra}.' '. ''. &mt('No').''.(' 'x2). - ''. + ''. &mt('Yes').''; } $output .= ''. @@ -11162,7 +11162,7 @@ sub modify_ltitools { if ($env{'form.ltitools_'.$extra.'_'.$i}) { $confhash{$itemid}{$extra} = 1; if ($env{'form.ltitools_'.$extra.'valid_'.$i} ne '') { - my $lifetime = $env{'form.ltitools_'.$extra.'valid_add'}; + my $lifetime = $env{'form.ltitools_'.$extra.'valid_'.$i}; $lifetime =~ s/^\s+|\s+$//g; if ($lifetime =~ /^\d+\.?\d*$/) { $confhash{$itemid}{$extra.'valid'} = $lifetime;