From 9205c30a45c26cf202d234aa50ce2fcdd340bbca Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 20 Feb 2013 16:17:03 +0000 Subject: [PATCH] Fix import no longer working --- importexport/inc/class.importexport_definitions_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_definitions_bo.inc.php b/importexport/inc/class.importexport_definitions_bo.inc.php index 623687e099..312e8099a2 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 ); } } return $definitions;