diff --git a/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php b/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php index bccab3ae8367ebc632d644c7332c1416fe57e34e..5671fc5159ce14a480cae142b6a9befec3a69e46 100644 --- a/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php @@ -211,7 +211,7 @@ Manual repair suggestions: ->execute(); while ($row = $result->fetch()) { - $allRecords = $this->findAllConnectedRecordsInPage($row['uid'], $depth, $allRecords); + $allRecords = $this->findAllConnectedRecordsInPage((int)$row['uid'], $depth, $allRecords); } } @@ -221,7 +221,7 @@ Manual repair suggestions: if (is_array($versions)) { foreach ($versions as $verRec) { if (!$verRec['_CURRENT_VERSION']) { - $allRecords = $this->findAllConnectedRecordsInPage($verRec['uid'], $depth, $allRecords); + $allRecords = $this->findAllConnectedRecordsInPage((int)$verRec['uid'], $depth, $allRecords); } } }