[BUGFIX] Frontend editing: fixed error when edit whole record 24/44924/2
authorMichael Oehlhof <typo3@oehlhof.de>
Tue, 24 Nov 2015 00:33:47 +0000 (01:33 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 24 Nov 2015 12:29:05 +0000 (13:29 +0100)
Resolves: #71527
Releases: master
Change-Id: Ic48cb43cb1eb7ffb54efcba8066acc25c589b5e4
Reviewed-on: https://review.typo3.org/44924
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php

index 8c695dd..4720e7f 100644 (file)
@@ -1415,7 +1415,7 @@ class EditDocumentController extends AbstractModule
                 // If only SOME fields are shown in the form, this will link the user to the FULL form:
                 if ($this->columnsOnly) {
                     $columnsOnlyButton = $buttonBar->makeLinkButton()
                 // If only SOME fields are shown in the form, this will link the user to the FULL form:
                 if ($this->columnsOnly) {
                     $columnsOnlyButton = $buttonBar->makeLinkButton()
-                        ->setHref(htmlspecialchars(($this->R_URI . '&columnsOnly=')))
+                        ->setHref($this->R_URI . '&columnsOnly=')
                         ->setTitle($lang->getLL('editWholeRecord', true))
                         ->setIcon($this->moduleTemplate->getIconFactory()->getIcon(
                             'actions-document-open',
                         ->setTitle($lang->getLL('editWholeRecord', true))
                         ->setIcon($this->moduleTemplate->getIconFactory()->getIcon(
                             'actions-document-open',