]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Twig/Filter/CPackFilter.php
Fix constructor namespace
[packbundle] / Twig / Filter / CPackFilter.php
index dff71c972e22ed91dd5c95bd09e8974fd0079638..806385a5a438ad5bb40f057b472abc79acc9941c 100644 (file)
@@ -23,8 +23,8 @@ class CPackFilter implements FilterInterface {
        //Configure the object
        public function __construct(ContainerInterface $containerInterface, $fileName, $line) {
                //Load configuration
-               if ($containerInterface->hasParameter('rapsys_pack.cpackfilter')) {
-                       if ($parameters = $containerInterface->getParameter('rapsys_pack.cpackfilter')) {
+               if ($containerInterface->hasParameter('rapsys_pack_cpackfilter')) {
+                       if ($parameters = $containerInterface->getParameter('rapsys_pack_cpackfilter')) {
                                foreach($parameters as $k => $v) {
                                        if (isset($this->$k)) {
                                                $this->$k = $v;