projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
96e72e4
)
Revert "fixed exception"
author
Fabien Potencier
<fabien.potencier@gmail.com>
Wed, 26 Oct 2011 06:05:11 +0000 (08:05 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Wed, 26 Oct 2011 06:05:11 +0000 (08:05 +0200)
This reverts commit
df47659e9de71a48a24f31ed0cc16a2674a06d43
.
lib/Twig/Template.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Template.php
b/lib/Twig/Template.php
index
63bcc50
..
fa502fa
100644
(file)
--- 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