]> git.mxchange.org Git - mailer.git/commitdiff
Should be isset() to allow empty POST data
authorRoland Häder <roland@mxchange.org>
Wed, 28 Oct 2009 23:20:28 +0000 (23:20 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 28 Oct 2009 23:20:28 +0000 (23:20 +0000)
inc/request-functions.php

index 69e361e65731d1040b67c828490f5faa8d863665..1320843bd26c63c014471ca9f59917c33a14bd5b 100644 (file)
@@ -152,7 +152,7 @@ function isPostRequestElementSet ($element, $subElement=null) {
        if (is_null($subElement)) {
                return ((isset($GLOBALS['raw_request']['post'][$element])) && (!empty($GLOBALS['raw_request']['post'][$element])));
        } else {
-               return ((isset($GLOBALS['raw_request']['post'][$element][$subElement])) && (!empty($GLOBALS['raw_request']['post'][$element][$subElement])));
+               return ((isset($GLOBALS['raw_request']['post'][$element][$subElement])) && (isset($GLOBALS['raw_request']['post'][$element][$subElement])));
        }
 }