--- loncom/interface/Attic/lonspreadsheet.pm 2002/09/27 20:41:25 1.100.4.2 +++ loncom/interface/Attic/lonspreadsheet.pm 2002/08/28 19:50:29 1.102 @@ -1,5 +1,5 @@ # -# $Id: lonspreadsheet.pm,v 1.100.4.2 2002/09/27 20:41:25 matthew Exp $ +# $Id: lonspreadsheet.pm,v 1.102 2002/08/28 19:50:29 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -146,7 +146,7 @@ undef %v; undef %t; undef %f; undef %c; -undef %rl; +undef %rowlabel; undef @os; $maxrow=0; @@ -822,7 +822,7 @@ sub sett { # Deal with the normal cells foreach (keys(%f)) { - if (exists($f{$_}) && ($_!~/template\_/)) { + if (($f{$_}) && ($_!~/template\_/)) { my $matches=($_=~/^$pattern(\d+)/); if (($matches) && ($1)) { unless ($f{$_}=~/^\!/) { @@ -904,8 +904,8 @@ sub outrowassess { my @cols=(); if ($n) { my ($usy,$ufn)=split(/\_\_\&\&\&\_\_/,$f{'A'.$n}); - if ($rl{$usy}) { - $cols[0]=$rl{$usy}.'
'. + if ($rowlabel{$usy}) { + $cols[0]=$rowlabel{$usy}.'
'. '