diff --git a/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php b/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php index 3645dd4a3c..325d3f5a75 100644 --- a/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php +++ b/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php @@ -366,6 +366,8 @@ class importexport_wizard_basic_import_csv { // Clear conditions that don't do anything + $content['conditions'] = array_unique($content['conditions']); +error_log(array2string($content['conditions'])); foreach($content['conditions'] as $key => &$condition) { if(($condition['true']['action'] == 'none' || !$condition['true']['action']) && !$condition['true']['stop'] && ($condition['false']['action'] == 'none' || !$condition['false']['action']) && !$condition['false']['stop']) {