Commit aca61df7 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Avoid undefined array key in RecordListController

Resolves: #96111
Releases: master, 11.5
Change-Id: Id8b381371ea257eb85e2ff59d5aeb1fbb7786db7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72333

Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent d6f2f7a6
......@@ -309,7 +309,7 @@ class RecordListController
<form action="" method="post">';
// Add "clipboard" checkbox:
if ($this->modTSconfig['enableClipBoard'] === 'selectable') {
if (($this->modTSconfig['enableClipBoard'] ?? '') === 'selectable') {
$body .= '<div class="form-check form-switch">' .
BackendUtility::getFuncCheck($this->id, 'SET[clipBoard]', ($MOD_SETTINGS['clipBoard'] ?? ''), '', $table ? '&table=' . $table : '', 'id="checkShowClipBoard"') .
'<label class="form-check-label" for="checkShowClipBoard">' .
......
Markdown is supported
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