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

(-)a/C4/Templates.pm (-2 / +1 lines)
Lines 180-186 sub themelanguage_lite { Link Here
180
    # But, if there's a cookie set, obey it
180
    # But, if there's a cookie set, obey it
181
    $lang = $query->cookie('KohaOpacLanguage')
181
    $lang = $query->cookie('KohaOpacLanguage')
182
      if ( defined $query and $query->cookie('KohaOpacLanguage') );
182
      if ( defined $query and $query->cookie('KohaOpacLanguage') );
183
183
    $lang =~ s/[^a-zA-Z_-]*//; 
184
    # Fall back to English
184
    # Fall back to English
185
    my @languages;
185
    my @languages;
186
    if ( $interface eq 'intranet' ) {
186
    if ( $interface eq 'intranet' ) {
187
- 

Return to bug 6629