X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Frequest-functions.php;h=ee70e614020d7d2810a1819d4b6c9d230934aad5;hb=b68d7d9622a02f3ea9d44ae3c5dee672b097f956;hp=b0ef0773b1b2657efc86a5d8149295649810ce0c;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/request-functions.php b/inc/request-functions.php index b0ef0773b1..ee70e61402 100644 --- a/inc/request-functions.php +++ b/inc/request-functions.php @@ -42,8 +42,8 @@ if (!defined('__SECURITY')) { // Initialize the request elements function initRequest () { - $GLOBALS['raw_request']['get'] = $_GET; - $GLOBALS['raw_request']['post'] = $_POST; + $GLOBALS['raw_request']['get'] = (array) $_GET; + $GLOBALS['raw_request']['post'] = (array) $_POST; } // Wrapper for elements in $_GET