projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c8df44
)
Should be isset() to allow empty POST data
author
Roland Häder
<roland@mxchange.org>
Wed, 28 Oct 2009 23:20:28 +0000
(23:20 +0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 28 Oct 2009 23:20:28 +0000
(23:20 +0000)
inc/request-functions.php
patch
|
blob
|
history
diff --git
a/inc/request-functions.php
b/inc/request-functions.php
index 69e361e65731d1040b67c828490f5faa8d863665..1320843bd26c63c014471ca9f59917c33a14bd5b 100644
(file)
--- a/
inc/request-functions.php
+++ b/
inc/request-functions.php
@@
-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 {
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])));
}
}
}
}