From 4ae22a909f98ca811b48e349f13aafa71393abd5 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Mon, 14 Oct 2013 21:23:12 +0200 Subject: [PATCH 1/1] Fix a missing second parameter in a PlMemcacheCache exception Signed-off-by: Nicolas Iooss --- classes/plcache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/plcache.php b/classes/plcache.php index 9558b01..6d2b471 100644 --- a/classes/plcache.php +++ b/classes/plcache.php @@ -479,7 +479,7 @@ class PlMemcacheCache implements PlCacheBackend $value = $this->context->get($key); if ($value === false) { if (is_null($callback)) { - throw new PlNotFoundInCacheException($key); + throw new PlNotFoundInCacheException($key, $type); } $value = call_user_func_array($callback, $cbargs); $this->set($key, $type, $value, $expire); -- 2.1.4