merged branch lyrixx/error-guess (PR #675)
authorFabien Potencier <fabien.potencier@gmail.com>
Fri, 23 Mar 2012 23:23:13 +0000 (00:23 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Fri, 23 Mar 2012 23:23:13 +0000 (00:23 +0100)
commit6e2fd68e7b62d91692a7adfb959475ab9b840d99
tree142e4811e11569ddaa9f6dbd0c7c35a29647b065
parenta980023df8868cfa68edae61dcc7798f00b75360
parentd0ae0294c043e82e1bd811ef41b2c951fd3c6b18
merged branch lyrixx/error-guess (PR #675)

Commits
-------

d0ae029 Fixed notice in Twig_Error::guessTemplateLine

Discussion
----------

Fixed notice in Twig_Error::guessTemplateLine

Sometimes, `trace['line']` is not available and makes notice.

You can see tests in https://github.com/lyrixx/Silex-Kitchen-Edition/tree/composer.