Browse Source

* Add extra feedback error message on importer

Giancarlo Voci 8 years ago
parent
commit
ddd0d3a405
1 changed files with 2 additions and 0 deletions
  1. 2 0
      omlinkimporter.php

+ 2 - 0
omlinkimporter.php

@@ -41,6 +41,8 @@ class CSVImporter
                     case ARTICLES_COLONNE:
                     case ARTICLES_COLONNE:
                         $this->mysqlLoadCSV(addslashes(realpath($fname)), 'articles');
                         $this->mysqlLoadCSV(addslashes(realpath($fname)), 'articles');
                         break;
                         break;
+                default:
+                    echo "Numero di colonne non riconosciute ne come DISTINTA e ne come LISTA ARTICOLI per il file '{$fname}'";
                 }
                 }
             }
             }
         }
         }