From 0af50b19840704d282de58291e39c8d3895bab06 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 16 May 2019 14:56:18 +0200 Subject: [PATCH] Fix import fe --- plugins/importFE/rows.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/importFE/rows.php b/plugins/importFE/rows.php index 09af16241..a9e1919dc 100644 --- a/plugins/importFE/rows.php +++ b/plugins/importFE/rows.php @@ -186,9 +186,9 @@ if (!empty($righe)) { $riga['CodiceArticolo'][0]['CodiceTipo'] = $riga['CodiceArticolo']['CodiceTipo']; } - foreach ($riga['CodiceArticolo'] as $key => $item) { - foreach ($item as $key => $name) { - if ($key == 'CodiceValore') { + foreach ($riga['CodiceArticolo'] as $key2 => $item) { + foreach ($item as $key2 => $name) { + if ($key2 == 'CodiceValore') { if (!empty($item['CodiceValore'])) { $codici_articoli .= ''.$item['CodiceValore'].' ('.$item['CodiceTipo'].')';