--- loncom/homework/inputtags.pm 2015/03/10 23:11:22 1.331 +++ loncom/homework/inputtags.pm 2015/03/17 12:22:20 1.332 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.331 2015/03/10 23:11:22 raeburn Exp $ +# $Id: inputtags.pm,v 1.332 2015/03/17 12:22:20 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1786,7 +1786,7 @@ sub previous_tries { {$1 $txt_correct. $3}s; } my $trystr = "(".&mt('Try [_1]',$Apache::lonhomework::history{"$prefix.tries"}).")"; - if (($curr_rndseed || $lastrndseed) && ($i > 1)) { + if (($curr_rndseed ne '') && ($lastrndseed ne '')) { if ($curr_rndseed ne $lastrndseed) { $trystr .= '
'.&mt('New problem variation this try.').''; }