From: Nicolas Iooss Date: Mon, 14 Oct 2013 19:23:12 +0000 (+0200) Subject: Fix a missing second parameter in a PlMemcacheCache exception X-Git-Tag: core/1.1.11~5 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;ds=sidebyside;h=4ae22a909f98ca811b48e349f13aafa71393abd5;hp=535db776ee0008917fd06a4aa2a4783696b43ac3;p=platal.git Fix a missing second parameter in a PlMemcacheCache exception Signed-off-by: Nicolas Iooss --- 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);