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

droeschl lon-capa-cvs-allow@mail.lon-capa.org
Tue, 07 Oct 2008 19:40:40 -0000


droeschl		Tue Oct  7 15:40:40 2008 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  In upfile_drop_add: now using the correct hash-key for the domain-field check.
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.70 loncom/interface/lonuserutils.pm:1.71
--- loncom/interface/lonuserutils.pm:1.70	Fri Sep 26 04:38:11 2008
+++ loncom/interface/lonuserutils.pm	Tue Oct  7 15:40:39 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.70 2008/09/26 08:38:11 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.71 2008/10/07 19:40:39 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3630,7 +3630,7 @@
                               '</b>');
                     next;
                 } else {
-                    if ($entries{$fields{'dom'}} 
+                    if ($entries{$fields{'domain'}} 
                         ne &LONCAPA::clean_domain($entries{$fields{'domain'}})) {
                         $r->print('<br />'. '<b>'.$entries{$fields{'domain'}}.
                                   '</b>: '.&mt('Unacceptable domain for user [_2] [_3] [_4] [_5]',$fname,$mname,$lname,$gen).'</b>');