make stow return false values correctly
This commit is contained in:
parent
24a26a36b1
commit
8e81a01ba1
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ sub get {
|
|||
my $opt = shift || {};
|
||||
return undef if $self->session->config->get("disableCache");
|
||||
my $value = $self->{_data}{$var};
|
||||
return unless $value;
|
||||
return undef unless defined $value;
|
||||
my $ref = ref $value;
|
||||
return $value if ( !$ref || $opt->{noclone} );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue