--- loncom/interface/londocs.pm 2007/11/08 22:20:32 1.299 +++ loncom/interface/londocs.pm 2007/12/01 03:46:03 1.301 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.299 2007/11/08 22:20:32 albertel Exp $ +# $Id: londocs.pm,v 1.301 2007/12/01 03:46:03 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1233,7 +1233,7 @@ ENDPASTE $icon = &Apache::loncommon::lonhttpdurl($r->dir_config('lonIconsURL')); $icon .= '/folder_closed.gif'; } - my $icon = ''; + $icon = ''; $r->print($icon.$type.': '. &parse_supplemental_title(&LONCAPA::map::qtescape($env{'docs.markedcopy_title'}))); } if ($container eq 'page') { @@ -1754,7 +1754,7 @@ sub entryline { # no copy for published maps $nocopy = 1; } else { - foreach (&Apache::lonsequence::attemptread(&Apache::lonnet::filelocation('',$url))) { + foreach (&Apache::lonsequence::attemptread(&Apache::lonnet::filelocation('',$url),1)) { my ($title,$url,$ext,$type)=split(/\:/,$_); if (($url=~/\.(page|sequence)/) && ($type ne 'zombie')) { $nocopy=1;