diff --git a/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php b/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php index 50eb79b7315..011e7b589ee 100644 --- a/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php +++ b/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php @@ -406,7 +406,7 @@ public function migratePayloadToValidWorkspaceNames(\Closure $outputFn): void $affectedRowsBaseWorkspaceName = $this->connection->executeStatement($statementBaseWorkspaceName); $this->connection->commit(); - if ($affectedRowsWorkspaceName + $affectedRowsBaseWorkspaceName === 0) { + if ($affectedRowsWorkspaceName === 0 && $affectedRowsBaseWorkspaceName === 0) { $outputFn('Migration was not necessary.'); return; }