Skip to content
Snippets Groups Projects
Commit 9a20b833 authored by Georg Ringer's avatar Georg Ringer Committed by Andreas Fernandez
Browse files

[BUGFIX] Fix PHP 7.2 issues in EXT:lowlevel

Resolves: #83409
Releases: master, 8.7, 7.6
Change-Id: I94a3a3ad31de6e4969d5456f12b728c98adf0815
Reviewed-on: https://review.typo3.org/55237


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
parent 3b290e49
Branches
Tags
No related merge requests found
......@@ -395,7 +395,7 @@ class DatabaseIntegrityView extends BaseScriptClass
],
'deleted_pages' => [
'icon' => $this->iconFactory->getIconForRecord('pages', ['deleted' => 1], Icon::SIZE_SMALL)->render(),
'count' => count($admin->recStats['deleted']['pages'])
'count' => isset($admin->recStats['deleted']['pages']) ? count($admin->recStats['deleted']['pages']) : 0
]
];
......@@ -437,7 +437,7 @@ class DatabaseIntegrityView extends BaseScriptClass
if ($t === 'pages' && $admin->lostPagesList !== '') {
$lostRecordCount = count(explode(',', $admin->lostPagesList));
} else {
$lostRecordCount = count($admin->lRecords[$t]);
$lostRecordCount = isset($admin->lRecords[$t]) ? count($admin->lRecords[$t]) : 0;
}
if ($countArr['all'][$t]) {
$theNumberOfRe = (int)$countArr['non_deleted'][$t] . '/' . $lostRecordCount;
......
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