Skip to content
Snippets Groups Projects
Commit 8bf396df authored by Stefan Neufeind's avatar Stefan Neufeind Committed by Christian Kuhn
Browse files

[BUGFIX] Make recycler PHP 7.2 compatible

Change-Id: I36167b0a8b61532adbafea93c88c93097ea52d73
Resolves: #83297
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55042
Reviewed-on: https://review.typo3.org/55047


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent f7cafe6e
Branches
Tags
No related merge requests found
......@@ -121,7 +121,7 @@ class DeletedRecords
$deletedRecords = $this->loadData($id, $table, $depth, '', $filter)->getDeletedRows();
$countTotal = 0;
foreach ($this->table as $tableName) {
$countTotal += count($deletedRecords[$tableName]);
$countTotal += isset($deletedRecords[$tableName]) ? count($deletedRecords[$tableName]) : 0;
}
return $countTotal;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment