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

(-)a/C4/Auth.pm (-1 / +2 lines)
Lines 472-477 sub get_template_and_user { Link Here
472
            UseKohaPlugins                                                             => C4::Context->preference('UseKohaPlugins'),
472
            UseKohaPlugins                                                             => C4::Context->preference('UseKohaPlugins'),
473
            UseCourseReserves                                                          => C4::Context->preference("UseCourseReserves"),
473
            UseCourseReserves                                                          => C4::Context->preference("UseCourseReserves"),
474
            useDischarge                                                               => C4::Context->preference('useDischarge'),
474
            useDischarge                                                               => C4::Context->preference('useDischarge'),
475
            KOHA_VERSION                                                               => C4::Context->preference('Version'),
475
        );
476
        );
476
    }
477
    }
477
    else {
478
    else {
Lines 545-550 sub get_template_and_user { Link Here
545
            OpacTopissue                          => C4::Context->preference("OpacTopissue"),
546
            OpacTopissue                          => C4::Context->preference("OpacTopissue"),
546
            RequestOnOpac                         => C4::Context->preference("RequestOnOpac"),
547
            RequestOnOpac                         => C4::Context->preference("RequestOnOpac"),
547
            'Version'                             => C4::Context->preference('Version'),
548
            'Version'                             => C4::Context->preference('Version'),
549
            KOHA_VERSION                          => C4::Context->preference('Version'),
548
            hidelostitems                         => C4::Context->preference("hidelostitems"),
550
            hidelostitems                         => C4::Context->preference("hidelostitems"),
549
            mylibraryfirst                        => ( C4::Context->preference("SearchMyLibraryFirst") && C4::Context->userenv ) ? C4::Context->userenv->{'branch'} : '',
551
            mylibraryfirst                        => ( C4::Context->preference("SearchMyLibraryFirst") && C4::Context->userenv ) ? C4::Context->userenv->{'branch'} : '',
550
            opaclayoutstylesheet                  => "" . C4::Context->preference("opaclayoutstylesheet"),
552
            opaclayoutstylesheet                  => "" . C4::Context->preference("opaclayoutstylesheet"),
551
- 

Return to bug 12904