diff options
Diffstat (limited to 'modules/field')
-rw-r--r-- | modules/field/field.attach.inc | 2 | ||||
-rw-r--r-- | modules/field/field.autoload.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc index b95d083d0..c10f85085 100644 --- a/modules/field/field.attach.inc +++ b/modules/field/field.attach.inc @@ -661,7 +661,7 @@ function _field_attach_preprocess($obj_type, &$object) { * * TODO D7: We do not yet know if this really belongs in Field API. */ -function _field_attach_prepare_translation(&$node) { +function _field_attach_prepare_translation($node) { // Prevent against invalid 'nodes' built by broken 3rd party code. if (isset($node->type)) { $type = content_types($node->type); diff --git a/modules/field/field.autoload.inc b/modules/field/field.autoload.inc index 9ebe204f2..21a8947de 100644 --- a/modules/field/field.autoload.inc +++ b/modules/field/field.autoload.inc @@ -297,7 +297,7 @@ function field_attach_preprocess($obj_type, &$object) { * * This function is an autoloader for _field_attach_prepare_translation() in modules/field/field.attach.inc. */ -function field_attach_prepare_translation(&$node) { +function field_attach_prepare_translation($node) { require_once DRUPAL_ROOT . '/modules/field/field.attach.inc'; return _field_attach_prepare_translation($node); } |