[LON-CAPA-users] Chart burp?
Guy Albertelli II
lon-capa-users@mail.lon-capa.org
Wed, 5 Mar 2003 13:41:04 -0500 (EST)
Hi Mark,
> I have two three-part problems that are not showing up in chart for ANY
> student.
Tha patch for this is:
diff -u -r1.43 -r1.44
--- loncoursedata.pm 31 Jan 2003 22:34:38 -0000 1.43
+++ loncoursedata.pm 5 Feb 2003 01:39:32 -0000 1.44
@@ -522,7 +522,7 @@
$errorMessage .= 'loncoursedata::ProcessTopLevelMap.';
$errorMessage .= " bighash to_$currentResourceID not
defined!";
&Apache::lonnet::logthis($errorMessage);
- last;
+ if (!defined($currentResourceID)) {last;}
}
my @nextResources=();
foreach (split(/\,/,$hash{'to_'.$currentResourceID})) {
--
guy@albertelli.com LON-CAPA Developer 0-7-7-4-