[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 21 Sep 2005 21:44:56 -0000
albertel Wed Sep 21 17:44:56 2005 EDT
Modified files:
/loncom/homework grades.pm
Log:
- need to include the directory information when modfying the port record.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.285 loncom/homework/grades.pm:1.286
--- loncom/homework/grades.pm:1.285 Tue Sep 20 02:45:02 2005
+++ loncom/homework/grades.pm Wed Sep 21 17:44:55 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.285 2005/09/20 06:45:02 albertel Exp $
+# $Id: grades.pm,v 1.286 2005/09/21 21:44:55 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2332,7 +2332,7 @@
} else {
my $copy_result = &Apache::lonnet::finishuserfileupload($stuname,$domain,'copy',
'/portfolio'.$directory.$answer_file_parts[0].'.'.$version.'.'.$answer_file_parts[-1]);
- push(@v_portfiles, $answer_file_parts[0].'.'.$version.'.'.$answer_file_parts[-1]);
+ push(@v_portfiles, $directory.$answer_file_parts[0].'.'.$version.'.'.$answer_file_parts[-1]);
&Apache::lonnet::mark_as_readonly($domain,$stuname,
['/portfolio'.$directory.$answer_file_parts[0].'.'.$version.'.'.$answer_file_parts[-1]],
[$symb,$env{'request.course.id'},'graded']);