Support undefined (noSuchIntance) values in Offline mode
This commit is contained in:
2
Info.pm
2
Info.pm
@@ -3814,7 +3814,7 @@ sub _global {
|
||||
# Return cached data unless loading
|
||||
# We now store in raw format so munge before returning
|
||||
# unless expecting raw data
|
||||
if ( defined $self->{"_$attr"} && !$load ) {
|
||||
if ( exists $self->{"_$attr"} && !$load ) {
|
||||
my $val = $self->{"_$attr"};
|
||||
|
||||
if ( !$raw ) {
|
||||
|
||||
Reference in New Issue
Block a user