return the whole blob for an undefined field key
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Mar 2010 20:28:21 +0000 (20:28 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Mar 2010 20:28:21 +0000 (20:28 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16064 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor/Container.pm

index 79b9273..9126ad8 100644 (file)
@@ -618,6 +618,7 @@ sub anon_cache {
     } else {
 
         my $blob = $cache->get_cache($ses_key) or return undef;
+        return $blob if (!defined($field_key));
         return $blob->{$field_key};
     }
 }