aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NPTest.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/NPTest.pm b/NPTest.pm
index b00a7086..3d6e3a28 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -438,7 +438,7 @@ sub LoadCache
chomp($fileContents);
my( $contentsRef ) = eval $fileContents;
- %CACHE = %{$contentsRef};
+ %CACHE = %{$contentsRef} if (defined($contentsRef));
}