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

(-)a/C4/Context.pm (-3 / +1 lines)
Lines 1063-1070 variable to be set correctly. Link Here
1063
sub set_remote_address {
1063
sub set_remote_address {
1064
    if ( C4::Context->config('koha_trusted_proxies') ) {
1064
    if ( C4::Context->config('koha_trusted_proxies') ) {
1065
        require CGI;
1065
        require CGI;
1066
        my $cgi    = CGI->new;
1066
        my $header = CGI->http('HTTP_X_FORWARDED_FOR');
1067
        my $header = $cgi->http('HTTP_X_FORWARDED_FOR');
1068
1067
1069
        if ($header) {
1068
        if ($header) {
1070
            require Koha::Middleware::RealIP;
1069
            require Koha::Middleware::RealIP;
1071
- 

Return to bug 24719