--- loncom/lonmap.pm 2014/12/11 01:50:27 1.15 +++ loncom/lonmap.pm 2022/10/04 20:39:58 1.16 @@ -2,7 +2,7 @@ # # Read maps into a 'big hash'. # -# $Id: lonmap.pm,v 1.15 2014/12/11 01:50:27 raeburn Exp $ +# $Id: lonmap.pm,v 1.16 2022/10/04 20:39:58 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1268,6 +1268,7 @@ sub read_map { my $contents = &Apache::lonnet::getfile($filename); if($contents eq -1) { + $hash->{'map_type_'.$lmap_no} = 'none'; throw Error::Simple('
'.&mt('Map not loaded: The file [_1] does not exist.', ''.$filename.'')); }