Skip to content

Commit

Permalink
Do not throw exception if no content type is available
Browse files Browse the repository at this point in the history
  • Loading branch information
ticktackk committed Apr 20, 2020
1 parent 67d42e8 commit 55e27ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Job/Upgrade/RebuildAttachmentOwner.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function getNextIds($start, $batch) : array
}

$app = $this->app();
$entityName = $app->getContentTypeEntity($contentType);
$entityName = $app->getContentTypeEntity($contentType, false);
if (!$entityName)
{
return [];
Expand Down

0 comments on commit 55e27ee

Please sign in to comment.