From 6b677920d7e1b604effd2359a50323e1a5a9d0b2 Mon Sep 17 00:00:00 2001 From: Fabio Lovato Date: Mon, 29 Oct 2018 16:52:11 +0100 Subject: [PATCH] Corretto caricamento moduli per import CSV --- src/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Import.php b/src/Import.php index a5e7c7e17..3d0e88e7b 100644 --- a/src/Import.php +++ b/src/Import.php @@ -35,7 +35,7 @@ class Import 'id_record' => $module['id'], ]); - $results[$module['id']] = array_merge($module, [ + $results[$module['id']] = array_merge($module->toArray(), [ 'import' => file_exists($custom_file) ? $custom_file : $original_file, 'files' => $files, ]);