--- loncom/interface/spreadsheet/studentcalc.pm 2003/07/16 15:57:32 1.14 +++ loncom/interface/spreadsheet/studentcalc.pm 2003/07/16 20:30:36 1.15 @@ -1,5 +1,5 @@ # -# $Id: studentcalc.pm,v 1.14 2003/07/16 15:57:32 matthew Exp $ +# $Id: studentcalc.pm,v 1.15 2003/07/16 20:30:36 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -615,6 +615,8 @@ sub export_data { my $self = shift; my $student = $self->{'name'}.':'.$self->{'domain'}; if (! exists($Exportrows{$student}) || + ! defined($Exportrows{$student}) || + ! defined($Exportrows{$student}->{'data'}) || ! $self->check_expiration_time($Exportrows{$student}->{'time'})) { $self->compute(); }