+ $value = $GLOBALS['raw_request']['post'][$element];
+
+ // Is $subElement set?
+ if ((!is_null($subElement)) && (REQUEST_ISSET_POST($element, $subElement))) {
+ // Then use this
+ $value = SQL_ESCAPE($value[$subElement]);
+ } elseif (!is_array($value)) {
+ // Escape it here
+ $value = SQL_ESCAPE($value);
+ }
+
+ // Set it in cache
+ $GLOBALS['cache_request']['request_post'][$element][$subElement] = $value;