--- loncom/homework/bridgetask.pm 2005/08/15 19:41:43 1.42 +++ loncom/homework/bridgetask.pm 2005/09/07 19:54:54 1.43 @@ -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 @@ sub get_instance { $result.=''; 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.='