[BUGFIX] Fix sprintf argument mismatch in FormManagerController 00/58500/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 30 Sep 2018 13:28:50 +0000 (15:28 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 30 Sep 2018 13:34:21 +0000 (15:34 +0200)
Resolves: #86477
Releases: master
Change-Id: I9595a1f1a4d90566d732dcf3c3f8b883a08a6bbe
Reviewed-on: https://review.typo3.org/58500
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/form/Classes/Controller/FormManagerController.php

index 5439016..70b63c5 100644 (file)
@@ -109,7 +109,7 @@ class FormManagerController extends AbstractBackendController
             throw new FormException(sprintf('The template path "%s" is not allowed', $templatePath), 1329233410);
         }
         if (empty($formName)) {
-            throw new FormException(sprintf('No form name', $templatePath), 1472312204);
+            throw new FormException('No form name', 1472312204);
         }
 
         $templatePath = GeneralUtility::getFileAbsFileName($templatePath);