#14262Using input type="image" does not trigger $TSFE->checkDataSubmission()
Description
When using input type=“image” in a mailform the HTTP_POST_VARS array does not contain a key named formtype_mail, but two keys named formtype_mail_x and formtype_mail_y
These keys are not checked, thus no mail is sent from a form.
Either patch index.php in the root with:
if ($HTTP_POST_VARS[‘formtype_mail_x’] || $HTTP_POST_VARS[‘formtype_mail_y’]) {
$HTTP_POST_VARS[‘formtype_mail’] = 1;
}
or patch tslib/class.tslib_fe.php in this manner.
(issue imported from #M264)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.