projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
36618fe
)
The question I'm asking myself now is : how could I get $trace['line'] is not set...
author
Nami-Doc
<karp@hotmail.fr>
Sat, 31 Mar 2012 19:59:45 +0000 (22:59 +0300)
committer
Nami-Doc
<karp@hotmail.fr>
Sat, 31 Mar 2012 19:59:45 +0000 (22:59 +0300)
lib/Twig/Error.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Error.php
b/lib/Twig/Error.php
index
45d164a
..
b945706
100755
(executable)
--- a/
lib/Twig/Error.php
+++ b/
lib/Twig/Error.php
@@
-165,7
+165,7
@@
class Twig_Error extends Exception
{
if (isset($trace['line'])) {
foreach ($trace['object']->getDebugInfo() as $codeLine => $templateLine) {
- if (isset($trace['line']) && $codeLine <= $trace['line']) {
+ if ($codeLine <= $trace['line']) {
return $templateLine;
}
}