Issue Bug Closed

#69195EXT:form - Error if old mailform option is called

Konstantin Salakhutdinov 08/19/15, 19:32 updated 10/19/17, 21:52

Description

When using the old mailform option and having useDefaultContentObject set in typoscript breaks the website if ext:compatibility6 is not installed.

if ($typoScriptObjectName = 'FORM' && !empty($typoScript['useDefaultContentObject'])) {
$content = $contentObject->getContentObject($typoScriptObjectName)->render($typoScript); ----- breaks here
} elseif ($typoScriptObjectName = ‘FORM’) {

Reviews 1