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

(-)a/C4/Auth.pm (-6 / +13 lines)
Lines 442-452 sub get_template_and_user { Link Here
442
442
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 (
446
        $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{ } if $in->{'query'}->param("DISABLE_SYSPREF_$syspref");
446
        qw(
447
    }
447
            OPACUserCSS
448
    foreach my $syspref ( qw( intranetcolorstylesheet intranetstylesheet ) ) {
448
            OPACUserJS
449
        $ENV{"OVERRIDE_SYSPREF_$syspref"} = 0 if $in->{'query'}->param("DISABLE_SYSPREF_$syspref");
449
            IntranetUserCSS
450
            IntranetUserJS
451
            intranetcolorstylesheet
452
            intranetstylesheet
453
        )
454
      )
455
    {
456
        $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{}
457
          if $in->{'query'}->param("DISABLE_SYSPREF_$syspref");
450
    }
458
    }
451
459
452
    # Anonymous opac search history
460
    # Anonymous opac search history
453
- 

Return to bug 14004