Project

General

Profile

Feature #47435 » FormController.php.6.x.diff

Ralf Zimmermann, 2013-04-22 15:36

View differences:

typo3/sysext/form/Classes/Controller/FormController.php 2013-04-22 11:24:08.795445739 +0200
if ($submittedByPrefix === NULL || !empty($submittedByPrefix) && !$this->validate->isValid() || !empty($submittedByPrefix) && $this->validate->isValid() && $this->requestHandler->getPost('confirmation-false', NULL) !== NULL) {
$show = TRUE;
}
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/form/Classes/Controller/Form.php']['showForm'])) {
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/form/Classes/Controller/Form.php']['showForm'] as $classData) {
$hookObject = \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj($classData);
$hookObject->showForm($submittedByPrefix, $show, $this);
}
}
return $show;
}
(2-2/3)