[LON-CAPA-cvs] cvs: loncom /homework essayresponse.pm
banghart
lon-capa-cvs@mail.lon-capa.org
Wed, 27 Oct 2004 18:30:48 -0000
banghart Wed Oct 27 14:30:48 2004 EDT
Modified files:
/loncom/homework essayresponse.pm
Log:
Correct stupid error. Now it compiles.
Index: loncom/homework/essayresponse.pm
diff -u loncom/homework/essayresponse.pm:1.43 loncom/homework/essayresponse.pm:1.44
--- loncom/homework/essayresponse.pm:1.43 Tue Oct 26 17:27:10 2004
+++ loncom/homework/essayresponse.pm Wed Oct 27 14:30:48 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# essay (ungraded) style responses
#
-# $Id: essayresponse.pm,v 1.43 2004/10/26 21:27:10 banghart Exp $
+# $Id: essayresponse.pm,v 1.44 2004/10/27 18:30:48 banghart Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -75,7 +75,7 @@
'<br />'.
'<input type="text" size="50" name="HWPORT'.$part.'_'.$id.'" value="" />'.
'<br />';
- if ($portfile=~/[^\s]/){
+ if ($Apache::lonhomework::history{"resource.$part.$id.portfiles"}=~/[^\s]/){
$result.="Portfolio files previously selected: <strong>".$Apache::lonhomework::history{"resource.$part.$id.portfiles"}."</strong><br />";
}