Skip to content
Snippets Groups Projects
Commit 57d2e061 authored by Ralf Zimmermann's avatar Ralf Zimmermann Committed by Frans Saris
Browse files

[BUGFIX] EXT:form - subjectField does not work in mail postProcessor

Respect the subjectField configuration property in the
mail postProcessor.

Resolves: #70076
Releases: master
Change-Id: I6534f04745d0c88d38beb7ec1a08eb209d0f77be
Reviewed-on: http://review.typo3.org/43696


Reviewed-by: default avatarBjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: default avatarBjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: default avatarFrans Saris <franssaris@gmail.com>
Tested-by: default avatarFrans Saris <franssaris@gmail.com>
parent 322da50a
Branches
Tags
No related merge requests found
......@@ -139,8 +139,8 @@ class MailPostProcessor extends AbstractPostProcessor implements PostProcessorIn
protected function setSubject() {
if (isset($this->typoScript['subject'])) {
$subject = $this->typoScript['subject'];
} elseif ($this->getTypoScriptValueFromIncomingData('subject') !== NULL) {
$subject = $this->getTypoScriptValueFromIncomingData('subject');
} elseif ($this->getTypoScriptValueFromIncomingData('subjectField') !== NULL) {
$subject = $this->getTypoScriptValueFromIncomingData('subjectField');
} else {
$subject = 'Formmail on ' . GeneralUtility::getIndpEnv('HTTP_HOST');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment