diff options
Diffstat (limited to 'modules/node/node.pages.inc')
-rw-r--r-- | modules/node/node.pages.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index 0de4e9c91..8b0dbfd91 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -77,7 +77,7 @@ function node_form_validate($form, &$form_state) { field_attach_form_validate('node', $node, $form, $form_state); } -function node_object_prepare(&$node) { +function node_object_prepare($node) { // Set up default values, if required. $node_options = variable_get('node_options_' . $node->type, array('status', 'promote')); // If this is a new node, fill in the default values. @@ -288,7 +288,7 @@ function node_form(&$form_state, $node) { /** * Return a node body field, with format and teaser. */ -function node_body_field(&$node, $label, $word_count) { +function node_body_field($node, $label, $word_count) { // Check if we need to restore the teaser at the beginning of the body. $include = !isset($node->teaser) || ($node->teaser == substr($node->body, 0, strlen($node->teaser))); |