[BUGFIX] Doctrine: Provide table name to lastInsertId()
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / ProcessedFileRepository.php
index 5c22852..d1fcfd8 100644 (file)
@@ -142,7 +142,7 @@ class ProcessedFileRepository extends AbstractRepository
                 $insertFields
             );
 
-            $uid = $connection->lastInsertId();
+            $uid = $connection->lastInsertId($this->table);
             $processedFile->updateProperties(['uid' => $uid]);
         }
     }