#72978recordlist: DatabaseRecordList tries to add paset button although clipboard controls disabled
Description
I’m using TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList in my own extension and do not need the clipboard, thus I disabled them with
$dblist->dontShowClipControlPanels = true; $dblist->showClipboard = false;
I also do not set $dblist->clipObj – since I don’t need the clipboard.
Unfortunately, getDocHeaderButtons() tries to access this object even though clipboard is disabled.