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

raeburn raeburn at source.lon-capa.org
Sat Jun 12 18:06:32 EDT 2021


raeburn		Sat Jun 12 22:06:32 2021 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - Reversal of part of changes in 1.554 (missed in rev. 1.593 changes).
    $name: third arg in calls to &valout() was never used by routine, so
    remove it.
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.599 loncom/interface/lonparmset.pm:1.600
--- loncom/interface/lonparmset.pm:1.599	Sun Jan 17 18:23:09 2021
+++ loncom/interface/lonparmset.pm	Sat Jun 12 22:06:32 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.599 2021/01/17 18:23:09 raeburn Exp $
+# $Id: lonparmset.pm,v 1.600 2021/06/12 22:06:32 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -978,7 +978,7 @@
 # @param {string} $type - the parameter type
 # @param {boolean} $editable - Set to true to get an icon when no value is defined.
 sub valout {
-    my ($value,$type,$name,$editable)=@_;
+    my ($value,$type,$editable)=@_;
     my $result = '';
     # Values of zero are valid.
     if (! $value && $value ne '0') {




More information about the LON-CAPA-cvs mailing list