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

(-)a/C4/Auth.pm (-3 / +2 lines)
Lines 443-452 sub get_template_and_user { Link Here
443
    # Sysprefs disabled via URL param
443
    # Sysprefs disabled via URL param
444
    # Note that value must be defined in order to override via ENV
444
    # Note that value must be defined in order to override via ENV
445
    foreach my $syspref ( qw( OPACUserCSS OPACUserJS IntranetUserCSS IntranetUserJS ) ) {
445
    foreach my $syspref ( qw( OPACUserCSS OPACUserJS IntranetUserCSS IntranetUserJS ) ) {
446
        $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{ } if $in->{'query'}->param("DISABLE_SYSPREF_$syspref");
446
        $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{} if $in->{'query'}->param("DISABLE_SYSPREF_$syspref");
447
    }
447
    }
448
    foreach my $syspref ( qw( intranetcolorstylesheet intranetstylesheet ) ) {
448
    foreach my $syspref ( qw( intranetcolorstylesheet intranetstylesheet ) ) {
449
        $ENV{"OVERRIDE_SYSPREF_$syspref"} = 0 if $in->{'query'}->param("DISABLE_SYSPREF_$syspref");
449
        $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{} if $in->{'query'}->param("DISABLE_SYSPREF_$syspref");
450
    }
450
    }
451
451
452
    # Anonymous opac search history
452
    # Anonymous opac search history
453
- 

Return to bug 14004