diff --git a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php index 6c3caf67c0f90e459a8b3d6abac196fccee1dc27..328c152eae5aeae9aa5415fff69b31f69b5dea21 100644 --- a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php @@ -1587,7 +1587,7 @@ class DatabaseRecordList } else { $hideTitle = htmlspecialchars($this->getLanguageService()->getLL('hide' . ($table === 'pages' ? 'Page' : ''))); $unhideTitle = htmlspecialchars($this->getLanguageService()->getLL('unHide' . ($table === 'pages' ? 'Page' : ''))); - if ($row[$hiddenField]) { + if ($row[$hiddenField] ?? false) { $params = 'data[' . $table . '][' . $rowUid . '][' . $hiddenField . ']=0'; $hideAction = '<button type="button"' . ' class="btn btn-default t3js-record-hide"'