diff --git a/importexport/inc/class.importexport_definitions_bo.inc.php b/importexport/inc/class.importexport_definitions_bo.inc.php index fdb8b91e8d..56afc4a08a 100644 --- a/importexport/inc/class.importexport_definitions_bo.inc.php +++ b/importexport/inc/class.importexport_definitions_bo.inc.php @@ -233,7 +233,7 @@ class importexport_definitions_bo { $definition_id = $definition->get_identifier() ? $definition->get_identifier() : NULL; $definition->set_record( $definition_data ); - if (isset($definition_id)) $definition->save( $definition_id ); + $definition->save( $definition_id ); } } }