function _fix_gpc_magic
Same name and namespace in other branches
- 7.x drupal-7.x/includes/common.inc \_fix_gpc_magic()
1 string reference to '_fix_gpc_magic'
- fix_gpc_magic in drupal-6.x/includes/common.inc
- Fix double-escaping problems caused by "magic quotes" in some PHP installations.
Archivo
- drupal-6.x/includes/common.inc, line 703
- Common functions that many Drupal modules will need to reference.
Código
function _fix_gpc_magic(&$item) {
if (is_array($item)) {
array_walk($item, '_fix_gpc_magic');
}
else {
$item = stripslashes($item);
}
}