X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Frequest-functions.php;h=ee70e614020d7d2810a1819d4b6c9d230934aad5;hp=b0ef0773b1b2657efc86a5d8149295649810ce0c;hb=f4fc80e21b9086988ffc3b91d3e43d51f61faf75;hpb=544aa3fb48613160f812515673e64c46d18d2e1d 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