diff --git a/lib/Doctrine/Cache/Memcache.php b/lib/Doctrine/Cache/Memcache.php index 3cab56316..0cf8ce072 100644 --- a/lib/Doctrine/Cache/Memcache.php +++ b/lib/Doctrine/Cache/Memcache.php @@ -86,6 +86,8 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver if (is_array($tmp)) { return $tmp[0]; + } else if (is_string($tmp)) { + return $tmp; } return false;