[LON-CAPA-cvs] cvs: loncom /interface loncoursedata.pm

minaeibi lon-capa-cvs@mail.lon-capa.org
Tue, 30 Jul 2002 23:07:10 -0000


minaeibi		Tue Jul 30 19:07:10 2002 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  Added some stuff to cache for make link to problem resource.
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.8 loncom/interface/loncoursedata.pm:1.9
--- loncom/interface/loncoursedata.pm:1.8	Tue Jul 30 17:31:48 2002
+++ loncom/interface/loncoursedata.pm	Tue Jul 30 19:07:10 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # (Publication Handler
 #
-# $Id: loncoursedata.pm,v 1.8 2002/07/30 21:31:48 stredwic Exp $
+# $Id: loncoursedata.pm,v 1.9 2002/07/30 23:07:10 minaeibi Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -344,6 +344,8 @@
 #                &Apache::lonnet::metdata($meta,'title');
             $cache->{$currentResourceID.':title'}=
                 $hash{'title_'.$currentResourceID};
+            $cache->{$currentResourceID.':source'}=
+                $hash{'src_'.$currentResourceID};
 
             # Get Parts for problem
             my %beenHere;