From: erickson Date: Wed, 23 Feb 2005 23:34:34 +0000 (+0000) Subject: fixed logic error X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ddf39a75a1d032ed2835b78a0f6c0033d948bdb7;p=opensrf%2Fbjwebb.git fixed logic error git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@99 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/perlmods/OpenSRF/Utils/SettingsClient.pm b/src/perlmods/OpenSRF/Utils/SettingsClient.pm index 6dbf96e..9882d4c 100755 --- a/src/perlmods/OpenSRF/Utils/SettingsClient.pm +++ b/src/perlmods/OpenSRF/Utils/SettingsClient.pm @@ -16,7 +16,7 @@ $host_config = undef; my $we_cache = 1; sub set_cache { my($self, $val) = @_; - if($val) { $we_cache = 1; } + if(defined($val)) { $we_cache = $val; } }