--- loncom/interface/lonmsgdisplay.pm 2006/05/17 09:51:26 1.26 +++ loncom/interface/lonmsgdisplay.pm 2006/05/17 14:58:28 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging display # -# $Id: lonmsgdisplay.pm,v 1.26 2006/05/17 09:51:26 foxr Exp $ +# $Id: lonmsgdisplay.pm,v 1.27 2006/05/17 14:58:28 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -28,7 +28,6 @@ package Apache::lonmsgdisplay; -use Apache::lonselstudent; =pod @@ -126,6 +125,7 @@ use Apache::lonlocal; use Apache::loncommunicate; use Apache::lonfeedback; use Apache::lonrss(); +use Apache::lonselstudent(); # Querystring component with sorting type my $sqs; @@ -1630,7 +1630,7 @@ sub sendoffmail { my %toaddr; if ($to) { foreach my $dest (@$to) { - my ($user,$domain) = split /:/, $dest; + my ($user,$domain) = split(/:/, $dest); if (($user ne '') && ($domain ne '')) { my $address = $user.":".$domain; # How the code below expects it. $toaddr{$address} = '';