diff options
author | David Rothstein <drothstein@gmail.com> | 2013-12-27 16:04:51 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-12-27 16:04:51 -0500 |
commit | 850c6e38cbf36047bf0bf597bc7e5767ab6989d5 (patch) | |
tree | 22f53f845b90941554f6c3c11df74344ad1fe7db /modules/node/node.pages.inc | |
parent | 70e25d73f19c85ac6ae5c916eccb21f2fd871d0d (diff) | |
download | brdo-850c6e38cbf36047bf0bf597bc7e5767ab6989d5.tar.gz brdo-850c6e38cbf36047bf0bf597bc7e5767ab6989d5.tar.bz2 |
Issue #1289336 by jthorson, JimmyAx, marcingy, no_commit_credit, rooby | janipuni: Calling node_view for the same node with multiple view modes on the same page does not correctly attach fields.
Diffstat (limited to 'modules/node/node.pages.inc')
-rw-r--r-- | modules/node/node.pages.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index 75ed0ddb8..3daf91d50 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -393,7 +393,6 @@ function node_preview($node) { $node->changed = REQUEST_TIME; $nodes = array($node->nid => $node); - field_attach_prepare_view('node', $nodes, 'full'); // Display a preview of the node. if (!form_get_errors()) { |