summaryrefslogtreecommitdiff
path: root/modules/field/field.attach.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.attach.inc')
-rw-r--r--modules/field/field.attach.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index bddec5d53..3ec098db8 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -1271,7 +1271,7 @@ function field_attach_extra_weight($bundle, $pseudo_field) {
*
* 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(stdClass $node) {
// Prevent against invalid 'nodes' built by broken 3rd party code.
if (isset($node->type)) {
$type = content_types($node->type);