Skip to content

Commit

Permalink
Fixed array to string conversion (#2324)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 14, 2022
1 parent 1b7b15b commit 175a07f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion system/modules/isotope/drivers/DC_ProductData.php
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,10 @@ protected function listView()
$args_k[] = $GLOBALS['TL_DCA'][$table]['fields'][$v]['reference'][$option] ?? $option;
}

$args[$k] = implode(', ', $args_k);
$implode = static function ($v) use (&$implode) {
return implode(', ', array_map(static fn($vv) => \is_array($vv) ? $implode($vv) : $vv, $v));
};
$args[$k] = $implode($args_k);
}
elseif (isset($GLOBALS['TL_DCA'][$table]['fields'][$v]['reference'][$row[$v]]))
{
Expand Down

0 comments on commit 175a07f

Please sign in to comment.