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

foxr lon-capa-cvs@mail.lon-capa.org
Thu, 31 May 2007 09:43:46 -0000


foxr		Thu May 31 05:43:46 2007 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  Add my for $temp variable so that this can actually be loaded in
  mod-perl without compilation errors.
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.168 loncom/homework/response.pm:1.169
--- loncom/homework/response.pm:1.168	Thu May 31 00:15:52 2007
+++ loncom/homework/response.pm	Thu May 31 05:43:46 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.168 2007/05/31 04:15:52 albertel Exp $
+# $Id: response.pm,v 1.169 2007/05/31 09:43:46 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -865,7 +865,7 @@
     my $formparm='form.HWVAL_'.$Apache::inputtags::response['-1'];
     my $response;
     if (!defined($offset)) {
-	$temp=1;
+	my $temp=1;
     } else {
 	$formparm.=":$offset";
     }