Skip navigation
Help

_fix_gpc_magic

6 common.inc _fix_gpc_magic(&$item)
7 common.inc _fix_gpc_magic(&$item)

1 string reference to '_fix_gpc_magic'

File

drupal/includes/common.inc, line 1026
Common functions that many Drupal modules will need to reference.

Code

function _fix_gpc_magic(&$item) {
  if (is_array($item)) {
    array_walk($item, '_fix_gpc_magic');
  }
  else {
    $item = stripslashes($item);
  }
}