--- loncom/interface/loncreateuser.pm 2006/06/29 17:41:06 1.127 +++ loncom/interface/loncreateuser.pm 2006/07/02 12:18:01 1.128 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.127 2006/06/29 17:41:06 albertel Exp $ +# $Id: loncreateuser.pm,v 1.128 2006/07/02 12:18:01 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -378,7 +378,6 @@ ENDSCRIPT var str = document.cu.elements[i].name; var checkcurr = str.match(re1); if (checkcurr != null) { - var re2 = /^currsec_[a-zA-Z0-9]+_[a-zA-Z0-9]+_(\\w+)\$/; if (document.cu.elements[i-1].checked == true) { var re2 = /^currsec_[a-zA-Z0-9]+_[a-zA-Z0-9]+_(\\w+)\$/; match = re2.exec(str); @@ -439,8 +438,8 @@ ENDSCRIPT } } } - document.cu.elements[i+2].value = sections; } + document.cu.elements[i+2].value = sections; } } }