diff --git a/Datatable/Column/ActionColumn.php b/Datatable/Column/ActionColumn.php index 7e720ea0..1385e879 100644 --- a/Datatable/Column/ActionColumn.php +++ b/Datatable/Column/ActionColumn.php @@ -12,6 +12,7 @@ namespace Sg\DatatablesBundle\Datatable\Column; use Sg\DatatablesBundle\Datatable\Action\Action; +use Sg\DatatablesBundle\Datatable\Helper; use Sg\DatatablesBundle\Datatable\HtmlContainerTrait; use Symfony\Component\OptionsResolver\OptionsResolver; @@ -86,7 +87,7 @@ public function renderSingleField(array &$row) foreach ($this->actions as $actionKey => $action) { $routeParameters = $action->getRouteParameters(); if (is_array($routeParameters)) { - foreach ($routeParameters as $key => $value) { + foreach ($routeParameters as $key => $value) { if (isset($row[$value])) { $parameters[$actionKey][$key] = $row[$value]; } else {