From f175a12c6e65d642a79a6aaec68ae8a9034d0c8c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 14 Feb 2012 18:34:44 +0000 Subject: [PATCH] Reset warnings before starting import --- infolog/inc/class.infolog_import_infologs_csv.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/infolog/inc/class.infolog_import_infologs_csv.inc.php b/infolog/inc/class.infolog_import_infologs_csv.inc.php index 157a016b89..312e1a294a 100644 --- a/infolog/inc/class.infolog_import_infologs_csv.inc.php +++ b/infolog/inc/class.infolog_import_infologs_csv.inc.php @@ -159,6 +159,7 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin { // Failures $this->errors = array(); + $this->warnings = array(); while ( $record = $import_csv->get_record() ) { $success = false;