diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-01 12:11:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-01 12:11:10 +0000 |
commit | e4ca439ba1f901526526f73adb106f7075fb5f11 (patch) | |
tree | 76eb2589699014fb67f5f10fdaef86d6ba1a0821 /modules/field/field.attach.inc | |
parent | 534c89f21e46116d1a627057158ca1fd02b129a6 (diff) | |
download | brdo-e4ca439ba1f901526526f73adb106f7075fb5f11.tar.gz brdo-e4ca439ba1f901526526f73adb106f7075fb5f11.tar.bz2 |
- Patch #595084 by c960657: use type hinting for .
Diffstat (limited to 'modules/field/field.attach.inc')
-rw-r--r-- | modules/field/field.attach.inc | 2 |
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); |