From 350a51cdbd2879fc56bc127491460b1663d42e40 Mon Sep 17 00:00:00 2001 From: Marc Bennewitz Date: Wed, 12 Jun 2013 05:14:39 +0200 Subject: [PATCH] fixed zendframework/zf2#4552: Zend\Cache\Storage\Adapter\Wincache::getItem() have to return NULL in cases of not found items --- src/Storage/Adapter/WinCache.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Storage/Adapter/WinCache.php b/src/Storage/Adapter/WinCache.php index 24cbfd9..7291573 100644 --- a/src/Storage/Adapter/WinCache.php +++ b/src/Storage/Adapter/WinCache.php @@ -140,6 +140,8 @@ protected function internalGetItem(& $normalizedKey, & $success = null, & $casTo if ($success) { $casToken = $result; + } else { + $result = null; } return $result;