From d5c19fa34440d986bd16e4876870e24f41663ff6 Mon Sep 17 00:00:00 2001 From: stwe Date: Sun, 6 Aug 2017 22:32:47 +0200 Subject: [PATCH] fix missing use statement --- Datatable/Column/ActionColumn.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {