Commit f4ee9dbe authored by Roman Gudev's avatar Roman Gudev Committed by Marcos Cano
Browse files

Issue #3301522 by super_romeo, marcoscano: User batch update processing user #0 forever

parent 110efc07
Loading
Loading
Loading
Loading
+1 −1
Changes for src/EntityUsageBatchManager.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ class EntityUsageBatchManager implements ContainerInjectionInterface {
      ->execute();
    $entity_id = reset($entity_ids);

    if ($entity_id && $entity = $entity_storage->load($entity_id)) {
    if (isset($entity_id) && $entity = $entity_storage->load($entity_id)) {
      /** @var \Drupal\Core\Entity\EntityInterface $entity */
      try {
        if ($entity->getEntityType()->isRevisionable()) {