X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Frequest-functions.php;h=0ae3de0a6a52c4d17edc49eb04507f38ddf6a8b6;hb=75062a410999a290b18fe181370139b37a160eb5;hp=5f9f1e263bb2b36378af1ddf877dc7d161a2c130;hpb=1355d2c0b29510dbd407f9cde9f41a5ac02d01fa;p=mailer.git diff --git a/inc/request-functions.php b/inc/request-functions.php index 5f9f1e263b..0ae3de0a6a 100644 --- a/inc/request-functions.php +++ b/inc/request-functions.php @@ -129,13 +129,13 @@ function REQUEST_POST ($element, $subElement=-1) { if (($subElement != -1) && (REQUEST_ISSET_POST($element, $subElement))) { // Then use this $value = SQL_ESCAPE($value[$subElement]); - } else { + } elseif (!is_array($value)) { // Escape it here $value = SQL_ESCAPE($value); } // Set it in cache - $GLOBALS['cache_request']['request_post'][$element][$subElement] = SQL_ESCAPE($value); + $GLOBALS['cache_request']['request_post'][$element][$subElement] = $value; } // END - if // Return value