diff --git a/importexport/inc/class.importexport_export_csv.inc.php b/importexport/inc/class.importexport_export_csv.inc.php index b218d1610c..ad89472b10 100644 --- a/importexport/inc/class.importexport_export_csv.inc.php +++ b/importexport/inc/class.importexport_export_csv.inc.php @@ -362,7 +362,7 @@ class importexport_export_csv implements importexport_iface_export_record } else { - if($key == $name && !is_array($select_option)) + if($key == $_name && !is_array($select_option)) { $option = $select_option; break;