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

(-)a/C4/Output.pm (-1 / +1 lines)
Lines 160-165 sub themelanguage { Link Here
160
      if $http_accept_language;
160
      if $http_accept_language;
161
    # But, if there's a cookie set, obey it
161
    # But, if there's a cookie set, obey it
162
    $lang = $query->cookie('KohaOpacLanguage') if (defined $query and $query->cookie('KohaOpacLanguage'));
162
    $lang = $query->cookie('KohaOpacLanguage') if (defined $query and $query->cookie('KohaOpacLanguage'));
163
    $lang =~ s/[^a-zA-Z_-]*//g; 
163
    # Fall back to English
164
    # Fall back to English
164
    my @languages;
165
    my @languages;
165
    if ($interface eq 'intranet') {
166
    if ($interface eq 'intranet') {
166
- 

Return to bug 6629