Skip to content

Commit

Permalink
Merge pull request #2 from rehuven/migrationSymfony
Browse files Browse the repository at this point in the history
fix Twig_SimpleFunction
  • Loading branch information
sandvige authored Mar 9, 2017
2 parents 3eb846d + 7bc15b6 commit e4dec16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Twig/Extension/OlarkExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public function __construct(ContainerInterface $container)
public function getFunctions()
{
return array(
"rg_olark_id" => new \Twig_SimpleFunction('getOlarkId', array($this, 'getOlarkId'), array('is_safe' => array('html'))),
"rg_olark_option" => new \Twig_SimpleFunction('getOlarkOption', array($this, 'getOlarkOption'), array('is_safe' => array('html'))),
new \Twig_SimpleFunction('rg_olark_id', array($this, 'getOlarkId'), array('is_safe' => array('html'))),
new \Twig_SimpleFunction('rg_olark_option', array($this, 'getOlarkOption'), array('is_safe' => array('html')))
);
}

Expand Down

0 comments on commit e4dec16

Please sign in to comment.