Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
fix missing use statement
Browse files Browse the repository at this point in the history
  • Loading branch information
stwe committed Aug 6, 2017
1 parent 55c220b commit d5c19fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Datatable/Column/ActionColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit d5c19fa

Please sign in to comment.