[LON-CAPA-cvs] cvs: rat / lonratedt.pm

www lon-capa-cvs@mail.lon-capa.org
Tue, 04 Jun 2002 13:23:55 -0000


www		Tue Jun  4 09:23:55 2002 EDT

  Modified files:              
    /rat	lonratedt.pm 
  Log:
  Was reading from construction space instead of resource space on loadmap.
  
  
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.29 rat/lonratedt.pm:1.30
--- rat/lonratedt.pm:1.29	Sat May 25 14:50:46 2002
+++ rat/lonratedt.pm	Tue Jun  4 09:23:54 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Edit Handler for RAT Maps
 #
-# $Id: lonratedt.pm,v 1.29 2002/05/25 18:50:46 www Exp $
+# $Id: lonratedt.pm,v 1.30 2002/06/04 13:23:54 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -36,6 +36,7 @@
 use Apache::Constants qw(:common);
 use Apache::lonnet;
 use Apache::lonratsrv;
+use Apache::lonsequence;
 
 my @order;
 my @resources;
@@ -443,7 +444,7 @@
        }
 
        foreach (
-    &attemptread(&Apache::lonnet::filelocation('',$ENV{'form.importmap'}))) {
+    &Apache::lonsequence::attemptread(&Apache::lonnet::filelocation('',$ENV{'form.importmap'}))) {
 	   my ($name,$url)=split(/\:/,$_);
            if ($url) {
               $importdetail.='&'.&Apache::lonnet::escape($name).'='.