We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d46e81 commit 79962cdCopy full SHA for 79962cd
1 file changed
modules/import/actions.php
@@ -106,7 +106,9 @@
106
107
// Gestione automatica dei valori convertiti
108
$primary_key = post('primary_key');
109
- $csv->setPrimaryKey($primary_key - 1);
+ if (!empty($primary_key)) {
110
+ $csv->setPrimaryKey($primary_key - 1);
111
+ }
112
113
// Verifica che tutti i campi obbligatori siano mappati
114
if (!isset($page) || empty($page)) {
0 commit comments