From 3e1014af174b3990131275080a24b1e7c95595c4 Mon Sep 17 00:00:00 2001 From: jwage Date: Wed, 23 Jan 2008 00:04:14 +0000 Subject: [PATCH] fixes #729 --- lib/Doctrine/Cache/Memcache.php | 2 ++ 1 file changed, 2 insertions(+) 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;