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

(-)a/circ/ysearch.pl (-2 / +1 lines)
Lines 39-45 my $query = $input->param('term'); Link Here
39
binmode STDOUT, ":encoding(UTF-8)";
39
binmode STDOUT, ":encoding(UTF-8)";
40
print $input->header( -type => 'text/plain', -charset => 'UTF-8' );
40
print $input->header( -type => 'text/plain', -charset => 'UTF-8' );
41
41
42
my ( $auth_status, $sessionID ) = check_cookie_auth( $input->cookie('CGISESSID'), { circulate => '*' } );
42
my ( $auth_status, $sessionID ) = check_cookie_auth( $input->cookie('CGISESSID'), { catalogue => '1' } );
43
if ( $auth_status ne "ok" ) {
43
if ( $auth_status ne "ok" ) {
44
    exit 0;
44
    exit 0;
45
}
45
}
46
- 

Return to bug 20707