[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 07 Sep 2005 19:54:56 -0000
albertel Wed Sep 7 15:54:56 2005 EDT
Modified files:
/loncom/homework bridgetask.pm
Log:
- file links weren't displaying
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.42 loncom/homework/bridgetask.pm:1.43
--- loncom/homework/bridgetask.pm:1.42 Mon Aug 15 15:41:43 2005
+++ loncom/homework/bridgetask.pm Wed Sep 7 15:54:54 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: bridgetask.pm,v 1.42 2005/08/15 19:41:43 albertel Exp $
+# $Id: bridgetask.pm,v 1.43 2005/09/07 19:54:54 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1036,7 +1036,7 @@
$result.='<tr><td colspan="4">';
my (undef,undef,$udom,$uname) = &Apache::lonxml::whichuser();
my $file_url = '/uploaded/'.$udom.'/'.$uname.'/portfolio';
- foreach my $partial_file (split(',',$Apache::lonhomework::history{"resource.$version.bridgetask.portfiles"})) {
+ foreach my $partial_file (split(',',$Apache::lonhomework::history{"resource.$version.0.bridgetask.portfiles"})) {
my $file=$file_url.$partial_file;
&Apache::lonnet::allowuploaded('/adm/bridgetask',$file);
$result.='<a href="'.$file.'" target="lonGRDs"><img src="'.