merged branch Nami-Doc/patch-1 (PR #680)
merged branch Nami-Doc/patch-1 (PR #680)

Commits
-------

27ffef0 The question I'm asking myself now is : how could I get $trace['line'] is not set if there's a check before the <= ? anyway, fixed
36618fe fix a bug where when an error would be thrown through the loader (Twig_Error_Loader by Twig_Loader_Filesystem, ie) the $trace['line'] would not be set (since we're not in a template)

Discussion
----------

fix a bug where when an error would be thrown through the loader

(Twig_Error_Loader by Twig_Loader_Filesystem, ie) the $trace['line'] would not be set (since we're not in a template)

thanks

---------------------------------------------------------------------------

by Nami-Doc at 2012-03-31T20:00:31Z

fixed, thanks @stof. Now I wonder (as I just wrote) : how could I get the error with that isset here ?

---------------------------------------------------------------------------

by stof at 2012-03-31T20:05:45Z

@Nami-Doc what was the exact error you got ?

---------------------------------------------------------------------------

by Nami-Doc at 2012-03-31T20:09:51Z

Php states that $trace['line'] isn't set

---------------------------------------------------------------------------

by Nami-Doc at 2012-03-31T20:23:33Z

O.K., got it. this has been fixed in #675, but composer (great tool) installed me last tag, but I think it's better to check it outside the loop anyway (micro-micro-optimisation)

phansys/Twig,Rvanlaak/Twig,nicolas-grekas/Twig,robregonm/Twig,derickr/Twig,dkarvounaris/Twig,moltin/Twig,robregonm/Twig,moltin/Twig,peterkokot/Twig,framewr/Twig,gamernetwork/Twig,jamessingizi/Twig,fsw/Twig,nicolas-grekas/Twig,gamernetwork/Twig,moltin/Twig,framewr/Twig,robregonm/Twig,jamessingizi/Twig,markstory/Twig,moufmouf/Twig,nicolas-grekas/Twig,Rvanlaak/Twig,iKwinto/Twig,hhamon/Twig,maartendekeizer/Twig,loi-chuanoi/Twig,markstory/Twig,sstok/Twig,maartendekeizer/Twig,craue/Twig,twigphp/Twig,dkarvounaris/Twig,peterkokot/Twig,huang53798584/Twig,Tobion/Twig,huang53798584/Twig,iKwinto/Twig,hason/Twig,gamernetwork/Twig,gencer/Twig,bocharsky-bw/Twig,framewr/Twig,moufmouf/Twig,hhamon/Twig,Tobion/Twig,Tobion/Twig,fsw/Twig,huang53798584/Twig,Rvanlaak/Twig,jamessingizi/Twig,iKwinto/Twig,bocharsky-bw/Twig,fsw/Twig,moufmouf/Twig,gencer/Twig,znerol/Twig,derickr/Twig,apishka/templater,znerol/Twig,hason/Twig,nicolas-grekas/Twig,twigphp/Twig,hason/Twig,apishka/templater,hhamon/Twig,bocharsky-bw/Twig,nicolas-grekas/Twig,craue/Twig,dkarvounaris/Twig,sstok/Twig,znerol/Twig,derickr/Twig,phansys/Twig,twigphp/Twig