From: Fabien Potencier Date: Wed, 26 Oct 2011 06:05:11 +0000 (+0200) Subject: Revert "fixed exception" X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=13e4b4800e0284abe9b22f6eef0065596ddb9e96;p=web%2Fkonrad%2Ftwig.git Revert "fixed exception" This reverts commit df47659e9de71a48a24f31ed0cc16a2674a06d43. --- diff --git a/lib/Twig/Template.php b/lib/Twig/Template.php index 63bcc50..fa502fa 100644 --- a/lib/Twig/Template.php +++ b/lib/Twig/Template.php @@ -346,7 +346,7 @@ abstract class Twig_Template implements Twig_TemplateInterface return null; } - throw new Twig_Error_Runtime(sprintf('Key "%s" for array with keys "%s" does not exist', $item, implode(', ', array_keys($object)))); + throw new Twig_Error_Runtime(sprintf('Item "%s" for "%s" does not exist', $item, $object)); } // get some information about the object