Bug 29914: Remove 'Use of uninitialized value ' warnings
(cherry picked from commit 68c11c5179)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
c96e11338a
commit
3afe1ccb6d
|
|
@ -430,6 +430,8 @@ subtest 'check_cookie_auth' => sub {
|
|||
$cgi->mock( 'cookie', sub { return; } );
|
||||
$cgi->mock( 'request_method', sub { return 'POST' } );
|
||||
|
||||
$ENV{REMOTE_ADDR} = '127.0.0.1';
|
||||
|
||||
# Setting authnotrequired=1 or we wont' hit the return but the end of the sub that prints headers
|
||||
my ( $userid, $cookie, $sessionID, $flags ) = C4::Auth::checkauth( $cgi, 1 );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue