--- loncom/interface/lonparmset.pm 2019/03/02 15:40:14 1.591 +++ loncom/interface/lonparmset.pm 2019/04/09 13:45:57 1.592 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set parameters for assessments # -# $Id: lonparmset.pm,v 1.591 2019/03/02 15:40:14 raeburn Exp $ +# $Id: lonparmset.pm,v 1.592 2019/04/09 13:45:57 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1071,7 +1071,7 @@ sub plink { my ($type,$dis,$value,$marker,$return,$call,$recursive,$extra)=@_; my $winvalue=$value; unless ($winvalue) { - if ((&isdateparm($type) || (&is_specialstring($type))) { + if (&isdateparm($type) || (&is_specialstring($type))) { $winvalue=$env{'form.recent_'.$type}; } elsif ($type eq 'string_yesno') { if ($env{'form.recent_string'} =~ /^(yes|no)$/i) {