--- loncom/auth/migrateuser.pm 2018/12/07 23:10:44 1.39 +++ loncom/auth/migrateuser.pm 2018/12/07 23:16:50 1.40 @@ -1,7 +1,7 @@ # The LearningOnline Network # Starts a user off based of an existing token. # -# $Id: migrateuser.pm,v 1.39 2018/12/07 23:10:44 raeburn Exp $ +# $Id: migrateuser.pm,v 1.40 2018/12/07 23:16:50 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -127,7 +127,7 @@ sub canhost { my %roleshash = &Apache::lonnet::get_my_roles($uname,$udom,'userroles','',['ca','aa'],\@possdoms); if (keys(%roleshash)) { foreach my $key (keys(%roleshash)) { - my $audom = (split(/:/,$key))[1]; + my $audom = (split(/:/,$key))[1]; if ((&Apache::lonnet::will_trust('othcoau',$udom,$audom)) && (&Apache::lonnet::will_trust('coaurem',$audom,$udom))) { $canhost = 1;