View | Details | Raw Unified | Return to bug 39712
Collapse All | Expand All

(-)a/Koha/Manual.pm (-4 / +3 lines)
Lines 340-348 sub get_url { Link Here
340
    my $base_url = _get_base_url($preferred_language);
340
    my $base_url = _get_base_url($preferred_language);
341
    return $base_url
341
    return $base_url
342
        . (
342
        . (
343
          exists $mapping->{$view} ? $mapping->{$view}
343
          ( defined $view && exists $mapping->{$view} ) ? $mapping->{$view}
344
        : exists $mapping->{$file} ? $mapping->{$file}
344
        : ( exists $mapping->{$file} )                  ? $mapping->{$file}
345
        :                            $mapping->{mainpage}
345
        :                                                 $mapping->{mainpage}
346
        );
346
        );
347
}
347
}
348
348
349
- 

Return to bug 39712