X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Frequest-functions.php;h=6237299a4a975e7d33e70274de3e65375c625945;hp=b651b018e73b582b269ba2af5e1a439a8e3ab020;hb=1551e5820800685c80c19871a376986c0ad6f0f6;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa diff --git a/inc/request-functions.php b/inc/request-functions.php index b651b018e7..6237299a4a 100644 --- a/inc/request-functions.php +++ b/inc/request-functions.php @@ -224,9 +224,9 @@ function setPostRequestParameter ($element, $value) { } // Checks wether a form was sent. If so, the $_POST['ok'] element must be set -function isFormSent () { +function isFormSent ($requestParameter = 'ok') { // Simply wrap it! - return isPostRequestParameterSet('ok'); + return isPostRequestParameterSet($requestParameter); } // Checks if 'content_type' is set