Fix import no longer working

This commit is contained in:
Nathan Gray 2013-02-20 16:17:03 +00:00
parent ea411d53c8
commit 9205c30a45

View File

@ -233,7 +233,7 @@ class importexport_definitions_bo {
$definition_id = $definition->get_identifier() ? $definition->get_identifier() : NULL; $definition_id = $definition->get_identifier() ? $definition->get_identifier() : NULL;
$definition->set_record( $definition_data ); $definition->set_record( $definition_data );
if (isset($definition_id)) $definition->save( $definition_id ); $definition->save( $definition_id );
} }
} }
return $definitions; return $definitions;