[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Tue Aug 14 18:15:21 EDT 2018


raeburn		Tue Aug 14 22:15:21 2018 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Use correct identifier.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.337 loncom/interface/domainprefs.pm:1.338
--- loncom/interface/domainprefs.pm:1.337	Tue Aug 14 21:42:39 2018
+++ loncom/interface/domainprefs.pm	Tue Aug 14 22:15:20 2018
@@ -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.338 2018/08/14 22:15:20 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -11162,7 +11162,7 @@
                         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;




More information about the LON-CAPA-cvs mailing list