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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Tue, 01 Jan 2008 18:19:57 -0000


raeburn		Tue Jan  1 13:19:57 2008 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  - switch on value of currently checked login radio button. 
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.37 loncom/interface/lonuserutils.pm:1.38
--- loncom/interface/lonuserutils.pm:1.37	Tue Jan  1 12:24:59 2008
+++ loncom/interface/lonuserutils.pm	Tue Jan  1 13:19:57 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.37 2008/01/01 17:24:59 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.38 2008/01/01 18:19:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -450,7 +450,7 @@
     foundatype=1;
     if (current.argfield == null || current.argfield == '') {
         var alertmsg = '';
-        switch (current.value) {
+        switch (current.radiovalue) {
             case 'krb':
                 alertmsg = '$alert{'krb'}';
                 break;