Skip to content

Commit

Permalink
Merge pull request kriswallsmith#98 from nikic/patch-1
Browse files Browse the repository at this point in the history
Update Twig Extension to be compatible with Twig/da4d964047d7240ac23bc771
  • Loading branch information
kriswallsmith committed Aug 10, 2011
2 parents 0a5d14c + cfc04a7 commit a3a6191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Assetic/Extension/Twig/TwigFormulaLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private function loadNode(\Twig_Node $node)
),
);
} elseif ($node instanceof \Twig_Node_Expression_Function) {
$name = $node->getNode('name')->getAttribute('name');
$name = $node->getAttribute('name');
if ($this->twig->getFunction($name) instanceof AsseticFilterFunction) {
$arguments = array();
foreach ($node->getNode('arguments') as $argument) {
Expand Down

0 comments on commit a3a6191

Please sign in to comment.