Diff for /loncom/interface/lonmenu.pm between versions 1.521 and 1.522

version 1.521, 2022/05/29 03:19:00 version 1.522, 2022/06/08 01:42:20
Line 1949  sub check_for_rcrs { Line 1949  sub check_for_rcrs {
     if (!$showreqcrs) {      if (!$showreqcrs) {
         foreach my $type (@reqtypes) {          foreach my $type (@reqtypes) {
             if ($env{'environment.reqcrsotherdom.'.$type} ne '') {              if ($env{'environment.reqcrsotherdom.'.$type} ne '') {
                 $showreqcrs = 1;                  my @domains = split(',',$env{'environment.reqcrsotherdom.'.$type});
                 last;                  foreach my $entry (@domains) {
                       my ($extdom,$extopt) = split(':',$entry);
                       if (&Apache::lonnet::will_trust('reqcrs',$env{'user.domain'},$extdom)) {
                           $showreqcrs = 1;
                           last;
                       }
                   }
                   if ($showreqcrs) {
                       last;
                   }
             }              }
         }          }
     }      }

Removed from v.1.521  
changed lines
  Added in v.1.522


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>