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

(-)a/C4/Context.pm (-3 / +1 lines)
Lines 1110-1117 variable to be set correctly. Link Here
1110
sub set_remote_address {
1110
sub set_remote_address {
1111
    if ( C4::Context->config('koha_trusted_proxies') ) {
1111
    if ( C4::Context->config('koha_trusted_proxies') ) {
1112
        require CGI;
1112
        require CGI;
1113
        my $cgi    = CGI->new;
1113
        my $header = CGI->http('HTTP_X_FORWARDED_FOR');
1114
        my $header = $cgi->http('HTTP_X_FORWARDED_FOR');
1115
1114
1116
        if ($header) {
1115
        if ($header) {
1117
            require Koha::Middleware::RealIP;
1116
            require Koha::Middleware::RealIP;
1118
- 

Return to bug 24719