[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 09 Aug 2006 20:43:56 -0000


albertel		Wed Aug  9 16:43:56 2006 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - need to still set istype, even if we don't show the type
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.328 loncom/interface/lonparmset.pm:1.329
--- loncom/interface/lonparmset.pm:1.328	Wed Aug  9 16:40:16 2006
+++ loncom/interface/lonparmset.pm	Wed Aug  9 16:43:56 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.328 2006/08/09 20:40:16 albertel Exp $
+# $Id: lonparmset.pm,v 1.329 2006/08/09 20:43:56 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3455,8 +3455,8 @@
             my ($realm,$section,$parmname,$part,$typeflag,$what,$middle,$uname,$udom,$issection,$realmdescription)=
 		&components($changed,$parmlog{$id}{'uname'},$parmlog{$id}{'udom'});
 	    if ($typeflag) {
-		if (!$env{'form.includetypes'}) { next; } 
 		$istype{$parmname}=$value; 
+		if (!$env{'form.includetypes'}) { next; } 
 	    }
 	    if ($makenewrow) { $r->print($row_start); } else { $makenewrow=1; }
 	    $r->print('<td>'.$realm.'</td><td>'.$section.'</td><td>'.