]> git.mxchange.org Git - mailer.git/blobdiff - inc/request-functions.php
Renamed function so it might be more understandable
[mailer.git] / inc / request-functions.php
index b651b018e73b582b269ba2af5e1a439a8e3ab020..5a4f04621694f0c5c6a7ac858d722095d1bf786e 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -224,9 +222,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