--- loncom/interface/loncreateuser.pm 2003/02/13 21:35:50 1.48 +++ loncom/interface/loncreateuser.pm 2003/03/23 08:31:41 1.49 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.48 2003/02/13 21:35:50 albertel Exp $ +# $Id: loncreateuser.pm,v 1.49 2003/03/23 08:31:41 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,7 +46,7 @@ # 05/10,10/16 Gerd Kortemeyer # 02/11/02 Matthew Hall # -# $Id: loncreateuser.pm,v 1.48 2003/02/13 21:35:50 albertel Exp $ +# $Id: loncreateuser.pm,v 1.49 2003/03/23 08:31:41 albertel Exp $ ### package Apache::loncreateuser; @@ -193,7 +193,7 @@ ENDFORMINFO my $uhome=&Apache::lonnet::homeserver($ccuname,$ccdomain); my %incdomains; my %inccourses; - foreach (%Apache::lonnet::hostdom) { + foreach (values(%Apache::lonnet::hostdom)) { $incdomains{$_}=1; } foreach (keys(%ENV)) {