X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Frequest-functions.php;h=b720ffc2d37589018fe592ee9eece8671f555f10;hp=b8f862fee9011d8409d4da0675298e8cd362ec87;hb=ccc4a69ce9b17aa8d7b1554a3b2b017db091821b;hpb=d43eb5dde3d31d2db3823595ea6d57880f3874cd diff --git a/inc/request-functions.php b/inc/request-functions.php index b8f862fee9..b720ffc2d3 100644 --- a/inc/request-functions.php +++ b/inc/request-functions.php @@ -64,7 +64,7 @@ function REQUEST_GET ($element) { } // Checks if an element in $_GET exists -function REQUEST_ISSET_GET ($element, $subElement="") { +function REQUEST_ISSET_GET ($element, $subElement = '') { if (empty($subElement)) { return ((isset($_GET[$element])) && (!empty($_GET[$element]))); } else { @@ -185,7 +185,7 @@ function REQUEST_SET_POST ($element, $value) { } // Checks wether a form was sent. If so, the $_POST['ok'] element must be set -function IS_FORM_SENT () { +function isFormSent () { // Simply wrap it! return REQUEST_ISSET_POST('ok'); }