diff --git a/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php b/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php index c0cd8e06c61e15b7811b8065a3f9711de12f2ba8..40ae5768988a894dc456ba5073eee025ed784925 100644 --- a/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php +++ b/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php @@ -161,8 +161,8 @@ class OpendocsToolbarItem implements ToolbarItemInterface */ protected function getMenuEntry(array $document, string $identifier): array { - $table = $document[3]['table']; - $uid = $document[3]['uid']; + $table = $document[3]['table'] ?? ''; + $uid = $document[3]['uid'] ?? 0; $record = BackendUtility::getRecordWSOL($table, $uid); if (!is_array($record)) {