Diff for /loncom/interface/coursecatalog.pm between versions 1.106 and 1.107

version 1.106, 2025/02/15 00:07:48 version 1.107, 2025/02/24 13:40:33
Line 1895  sub courseinfo_row { Line 1895  sub courseinfo_row {
             @cats = split('&',$categories);              @cats = split('&',$categories);
         }          }
         if ((ref($trails) eq 'ARRAY') && (ref($allitems) eq 'HASH')) {          if ((ref($trails) eq 'ARRAY') && (ref($allitems) eq 'HASH')) {
             my @categories = map { $trails->[$allitems->{$_}]; } @cats;              my @categories;
               foreach my $cat (@cats) {
                   next if ($cat eq '');
                   if (($allitems->{$cat} ne '') && ($trails->[$allitems->{$cat}] ne '')) {
                       push(@categories,$trails->[$allitems->{$cat}]);
                   }
               }
             $categorylist = join('<br />',@categories);              $categorylist = join('<br />',@categories);
         }          }
         if ($categorylist eq '') {          if ($categorylist eq '') {

Removed from v.1.106  
changed lines
  Added in v.1.107


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