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

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 16 Jan 2007 19:56:44 -0000


raeburn		Tue Jan 16 14:56:44 2007 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  For multiple selects in a selectbox use --> multiple NOT "multiple"
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.143 loncom/interface/loncreateuser.pm:1.144
--- loncom/interface/loncreateuser.pm:1.143	Fri Dec 29 13:41:43 2006
+++ loncom/interface/loncreateuser.pm	Tue Jan 16 14:56:41 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.143 2006/12/29 18:41:43 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.144 2007/01/16 19:56:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1838,7 +1838,7 @@
         $output = '<select name="currsec_'.$role.'" ';
         my $multiple = 4;
         if (scalar(@sections) < 4) { $multiple = scalar(@sections); }
-        $output .= '"multiple" size="'.$multiple.'">'."\n";
+        $output .= 'multiple size="'.$multiple.'">'."\n";
         foreach my $sec (@sections) {
             $output .= '<option value="'.$sec.'">'.$sec."</option>\n";
         }