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

(-)a/help.pl (-1 / +1 lines)
Lines 49-54 my $htdocs = C4::Context->config('intrahtdocs'); Link Here
49
# checking that the help file exist, otherwise, display nohelp.tt page
49
# checking that the help file exist, otherwise, display nohelp.tt page
50
#
50
#
51
my ( $theme, $lang ) = C4::Templates::themelanguage( $htdocs, $from, "intranet", $query );
51
my ( $theme, $lang ) = C4::Templates::themelanguage( $htdocs, $from, "intranet", $query );
52
$lang //= '';
52
unless ( -e "$htdocs/$theme/$lang/modules/$from" ) {
53
unless ( -e "$htdocs/$theme/$lang/modules/$from" ) {
53
    $from = "help/nohelp.tt";
54
    $from = "help/nohelp.tt";
54
    ( $theme, $lang ) = C4::Templates::themelanguage( $htdocs, $from, "intranet", $query );
55
    ( $theme, $lang ) = C4::Templates::themelanguage( $htdocs, $from, "intranet", $query );
55
- 

Return to bug 14580