--- loncom/interface/lonuserutils.pm 2007/12/05 16:49:55 1.8 +++ loncom/interface/lonuserutils.pm 2007/12/05 17:53:13 1.9 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Utility functions for managing LON-CAPA user accounts # -# $Id: lonuserutils.pm,v 1.8 2007/12/05 16:49:55 raeburn Exp $ +# $Id: lonuserutils.pm,v 1.9 2007/12/05 17:53:13 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2904,7 +2904,7 @@ sub section_check_js { my $groupslist= &get_groupslist(); return <<"END"; function validate(caller) { - var groups = new Array("$groupslist"); + var groups = new Array($groupslist); var secname = caller.value; if ((secname == 'all') || (secname == 'none')) { alert("'"+secname+"' may not be used as the name for a section, as it is a reserved word.\\nPlease choose a different section name.");