Bug 17189 [QA Followup] - Missing $ on $key var for unsafe variant
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 8 Sep 2016 12:19:30 +0000 (12:19 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 8 Sep 2016 12:19:30 +0000 (12:19 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Cache.pm

index b966373..034d77b 100644 (file)
@@ -331,7 +331,7 @@ sub get_from_cache {
     if ( exists $L1_cache{$self->{namespace}}{$key} ) {
         if (ref($L1_cache{$self->{namespace}}{$key})) {
             if ($unsafe) {
-                $L1_cache{$self->{namespace}}{$key}->{thawed} ||= $L1_decoder->decode($L1_cache{$self->{namespace}}{key}->{frozen});
+                $L1_cache{$self->{namespace}}{$key}->{thawed} ||= $L1_decoder->decode($L1_cache{$self->{namespace}}{$key}->{frozen});
                 return $L1_cache{$self->{namespace}}{$key}->{thawed};
             } else {
                 return $L1_decoder->decode($L1_cache{$self->{namespace}}{$key}->{frozen});