From 9569d0c3abc51a1fd565bd3603135d7af09ec6db Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 24 Sep 2009 22:46:39 -0500 Subject: [PATCH] fixed the remaining bugs in mget --- lib/WebGUI/Cache.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Cache.pm b/lib/WebGUI/Cache.pm index c05f24386..419752cd7 100644 --- a/lib/WebGUI/Cache.pm +++ b/lib/WebGUI/Cache.pm @@ -140,8 +140,9 @@ sub mget { $self->getMemcached->mget_into_hashref(\@parsedNames, \%result); my @values = (); foreach my $name (@parsedNames) { - next unless ref $result{$name}; - push @values, ${$result{$name}}; + my $content = Storable::thaw($result{$name}); + next unless ref $content; + push @values, ${$content}; } return \@values; }