[LON-CAPA-cvs] cvs: loncom /homework essayresponse.pm

raeburn raeburn@source.lon-capa.org
Mon, 19 Apr 2010 04:02:37 -0000


raeburn		Mon Apr 19 04:02:37 2010 EDT

  Modified files:              
    /loncom/homework	essayresponse.pm 
  Log:
  - $award is a ref to a scalar. 
  
  
Index: loncom/homework/essayresponse.pm
diff -u loncom/homework/essayresponse.pm:1.102 loncom/homework/essayresponse.pm:1.103
--- loncom/homework/essayresponse.pm:1.102	Sun Feb 28 23:37:03 2010
+++ loncom/homework/essayresponse.pm	Mon Apr 19 04:02:37 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # essay (ungraded) style responses
 #
-# $Id: essayresponse.pm,v 1.102 2010/02/28 23:37:03 raeburn Exp $
+# $Id: essayresponse.pm,v 1.103 2010/04/19 04:02:37 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -346,7 +346,7 @@
             }
         }
         $Apache::lonhomework::results{"resource.$part.$id.$which"}=join(',',@accepted_files);
-        if (($$award eq 'INVALID_FILETYPE') || ($award eq 'EXCESS_FILESIZE')) {
+        if (($$award eq 'INVALID_FILETYPE') || ($$award eq 'EXCESS_FILESIZE')) {
             return;
         }
 	if (ref($uploadedflag)) {