projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
645cd2d
)
Bug 12041: UT - Get rid of warnings
author
Jonathan Druart
<jonathan.druart@biblibre.com>
Thu, 22 May 2014 13:47:55 +0000
(15:47 +0200)
committer
Tomas Cohen Arazi
<tomascohen@gmail.com>
Thu, 19 Jun 2014 16:05:22 +0000
(13:05 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Koha/Cache.pm
patch
|
blob
|
history
diff --git
a/Koha/Cache.pm
b/Koha/Cache.pm
index
358a9a4
..
1638324
100644
(file)
--- a/
Koha/Cache.pm
+++ b/
Koha/Cache.pm
@@
-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'};
}