Issue Bug Closed

#14262Using input type="image" does not trigger $TSFE->checkDataSubmission()

old_leening 08/03/04, 15:49 updated 07/02/10, 11:15

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.