// ZIP codes are numerical values
$content['zip'] = '';
- if (isPostRequestParameterSet('zip')) {
+ if ((isPostRequestParameterSet('zip')) && (postRequestParameter('zip') > 0)) {
$content['zip'] = bigintval(postRequestParameter('zip'));
} // END - if
// 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