From 13e4b4800e0284abe9b22f6eef0065596ddb9e96 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 26 Oct 2011 08:05:11 +0200 Subject: [PATCH] Revert "fixed exception" This reverts commit df47659e9de71a48a24f31ed0cc16a2674a06d43. --- lib/Twig/Template.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.7.2.5