--- loncom/interface/lonprintout.pm 2002/09/18 19:41:06 1.69 +++ loncom/interface/lonprintout.pm 2002/09/18 20:40:32 1.70 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.69 2002/09/18 19:41:06 sakharuk Exp $ +# $Id: lonprintout.pm,v 1.70 2002/09/18 20:40:32 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -561,8 +561,8 @@ sub coming_from_hash { my $mapstart = $hash{'map_start_'.$mainsequence}; my $mapfinish = $hash{'map_finish_'.$mainsequence}; my $symb = &Apache::lonnet::symbread($hash{'src_'.$mapstart}); - $symb = m/^([^___]*)___/; - my $presymb = $1.'___'; + my ($presymb) = split(/___/,$symb); + $presymb = $presymb.'___'; my $current_resource = $mapstart; while ($current_resource ne $mapfinish) { if (not $hash{'src_'.$current_resource}=~/\.sequence$/) {