Casting added, fix for bigintval() verifcation
[mailer.git] / inc / request-functions.php
index b0ef0773b1b2657efc86a5d8149295649810ce0c..ee70e614020d7d2810a1819d4b6c9d230934aad5 100644 (file)
@@ -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