From: Sam Reed Date: Sun, 29 May 2011 14:28:01 +0000 (+0000) Subject: Followup r83140, fix undefined $id X-Git-Tag: 1.31.0-rc.0~29864 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=051198ce4559a9de35b30a4c63c8eb06db8021fe;p=lhc%2Fweb%2Fwiklou.git Followup r83140, fix undefined $id --- diff --git a/includes/objectcache/ObjectCache.php b/includes/objectcache/ObjectCache.php index eebff32c9c..25d4d470dd 100644 --- a/includes/objectcache/ObjectCache.php +++ b/includes/objectcache/ObjectCache.php @@ -64,7 +64,7 @@ class ObjectCache { $class = $params['class']; return new $class( $params ); } else { - throw new MWException( "The definition of cache type \"$id\" lacks both " . + throw new MWException( "The definition of cache type \"" . print_r( $params, true ) . "\" lacks both " . "factory and class parameters." ); } }