--- loncom/interface/spreadsheet/assesscalc.pm 2004/02/03 22:44:02 1.32 +++ loncom/interface/spreadsheet/assesscalc.pm 2004/02/24 20:47:14 1.33 @@ -1,5 +1,5 @@ # -# $Id: assesscalc.pm,v 1.32 2004/02/03 22:44:02 matthew Exp $ +# $Id: assesscalc.pm,v 1.33 2004/02/24 20:47:14 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -876,6 +876,10 @@ sub load_cached_export_rows { # We only got one key, so we will access it directly. while (my ($key,$sheetdata) = each(%tmp)) { my ($sname,$sdom,$sheettype,$symb) = split(':',$key); + if (! defined($sname) || $sname eq '' || + ! defined($sdom) || $sdom eq '' ) { + next; + } if ($symb =~ /\.time$/) { $symb =~ s/\.time$//; $Exportrows{$symb}->{'time'} = $sheetdata;