[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 18 Sep 2002 20:40:32 -0000
albertel Wed Sep 18 16:40:32 2002 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
- there is now way this line worked or could continue to work.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.69 loncom/interface/lonprintout.pm:1.70
--- loncom/interface/lonprintout.pm:1.69 Wed Sep 18 15:41:06 2002
+++ loncom/interface/lonprintout.pm Wed Sep 18 16:40:32 2002
@@ -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 @@
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$/) {