[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 20 Sep 2005 07:14:24 -0000
albertel Tue Sep 20 03:14:24 2005 EDT
Modified files:
/loncom/homework bridgetask.pm
Log:
- some code looks for a submission item, need to crete it even if it;s just empty
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.50 loncom/homework/bridgetask.pm:1.51
--- loncom/homework/bridgetask.pm:1.50 Tue Sep 20 03:10:21 2005
+++ loncom/homework/bridgetask.pm Tue Sep 20 03:14:23 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.50 2005/09/20 07:10:21 albertel Exp $
+# $Id: bridgetask.pm,v 1.51 2005/09/20 07:14:23 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -511,6 +511,8 @@
$Apache::lonhomework::results{"resource.0.award"}=
$Apache::lonhomework::results{"resource.$version.0.award"}=
$award;
+ $Apache::lonhomework::results{"resource.0.submission"}=
+ $Apache::lonhomework::results{"resource.$version.0.submission"}='';
}
&Apache::lonhomework::showhash(%Apache::lonhomework::results);
&Apache::structuretags::finalize_storage();