diff --git a/lib/WebGUI/Cache/Database.pm b/lib/WebGUI/Cache/Database.pm index 52b68efc1..3297d9d36 100644 --- a/lib/WebGUI/Cache/Database.pm +++ b/lib/WebGUI/Cache/Database.pm @@ -107,7 +107,7 @@ sub get { eval { $content = thaw($content); }; - return undef unless $content; + return undef unless $content && ref $content; return $$content; }