Skip to content

Commit

Permalink
[BUGFIX] Fix variable assignment of default duplication behaviour action
Browse files Browse the repository at this point in the history
The default duplication behaviour action for the
file upload is now properly assigned to the view again.

Resolves: #97357
Releases: main, 11.5
Change-Id: Id472dff8154dd4263827863a118f5da4390a7924
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76744
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Stefan Bürk <stefan@buerk.tech>
  • Loading branch information
o-ba authored and sbuerk committed Nov 20, 2022
1 parent 3250cf9 commit 2796a33
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -454,7 +454,7 @@ protected function registerDrapUploader(): void
$this->view->assign('drapUploader', [
'fileDenyPattern' => $GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] ?? null,
'maxFileSize' => GeneralUtility::getMaxUploadFileSize() * 1024,
'defaultDuplicationBehaviourAction', $this->getDefaultDuplicationBehaviourAction(),
'defaultDuplicationBehaviourAction' => $this->getDefaultDuplicationBehaviourAction(),
]);
}
}
Expand Down

0 comments on commit 2796a33

Please sign in to comment.