fixed the ternary operator

This commit is contained in:
Fabien Potencier
2011-01-10 19:06:37 +01:00
parent e96ed3f66c
commit ac9e4eec15
6 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ class __TwigTemplate_be925a7b06dda0dfdbd18a1509f7eb34 extends Twig_Template
public function getParent(array \$context)
{
if (null === \$this->parent) {
\$this->parent = (true) ? ("foo") : ("foo");
\$this->parent = ((true) ? ("foo") : ("foo"));
if (!\$this->parent instanceof Twig_Template) {
\$this->parent = \$this->env->loadTemplate(\$this->parent);
}