diff --git a/includes/translation.handler_factory.inc b/includes/translation.handler_factory.inc index b3819c2..126176a 100644 --- a/includes/translation.handler_factory.inc +++ b/includes/translation.handler_factory.inc @@ -112,10 +112,9 @@ class EntityTranslationHandlerFactory { */ public function getHandlerId($entity_type, $entity) { if (!isset($entity->entity_translation_handler_id)) { - list($id, $revision_id, $bundle) = entity_extract_ids($entity_type, $entity); - $revision_id = isset($revision_id) ? $revision_id : 0; + list($id, , $bundle) = entity_extract_ids($entity_type, $entity); $bundle = isset($bundle) ? $bundle : $entity_type; - $entity->entity_translation_handler_id = $entity_type . '-' . $bundle . '-' . (!empty($id) ? 'eid-' . $id . '-' . $revision_id : 'new-' . self::$newId++); + $entity->entity_translation_handler_id = $entity_type . '-' . $bundle . '-' . (!empty($id) ? 'eid-' . $id : 'new-' . self::$newId++); } return $entity->entity_translation_handler_id; }