[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 24 Jun 2003 21:35:24 -0000
albertel Tue Jun 24 17:35:24 2003 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
- Fixes the latest cause of the cannot init course buglet, when early outing in the parmset screen don't forget to untie the hashes
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.111 loncom/interface/lonparmset.pm:1.112
--- loncom/interface/lonparmset.pm:1.111 Tue Jun 24 16:54:20 2003
+++ loncom/interface/lonparmset.pm Tue Jun 24 17:35:24 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.111 2003/06/24 20:54:20 sakharuk Exp $
+# $Id: lonparmset.pm,v 1.112 2003/06/24 21:35:24 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -892,7 +892,11 @@
&startpage($r,$id,$udom,$csec,$uname,$have_assesments);
- if (!$have_assesments) { return ''; }
+ if (!$have_assesments) {
+ untie(%bighash);
+ untie(%parmhash);
+ return '';
+ }
# if ($ENV{'form.url'}) {
# $r->print('<input type="hidden" value="'.$ENV{'form.url'}.
# '" name="url"><input type="hidden" name="command" value="set">');