Bug 12041: UT - Get rid of warnings

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2014-05-22 15:47:55 +02:00 committed by Tomas Cohen Arazi
parent 645cd2d240
commit 91dae88abb
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ sub _set_tied_defaults {
$args->{'timeout'} = '600' unless defined( $args->{'timeout'} );
$args->{'inprocess'} = '0' unless defined( $args->{'inprocess'} );
unless ( lc( $args->{'cache_type'} ) eq 'null' ) {
unless ( $args->{cache_type} and lc( $args->{cache_type} ) eq 'null' ) {
$args->{'cache'} = $self;
$args->{'cache_type'} ||= $ENV{'CACHING_SYSTEM'};
}