From d071f99172555f680fb4e497f0b5124a3be687ba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 17 Apr 2006 20:48:26 +0000 Subject: - Removing trailing whitespace. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index cf8c085a2..6d8f9f43a 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1627,7 +1627,7 @@ function node_form_array($node) { $form['author'] = array('#type' => 'fieldset', '#title' => t('Authoring information'), '#collapsible' => TRUE, '#collapsed' => TRUE, '#weight' => 20); $form['author']['name'] = array('#type' => 'textfield', '#title' => t('Authored by'), '#maxlength' => 60, '#autocomplete_path' => 'user/autocomplete', '#default_value' => $node->name ? $node->name : '', '#weight' => -1, '#description' => t('Leave blank for %anonymous.', array('%anonymous' => theme('placeholder', variable_get('anonymous', 'Anonymous'))))); $form['author']['date'] = array('#type' => 'textfield', '#title' => t('Authored on'), '#maxlength' => 25, '#description' => t('Format: %time. Leave blank to use the time of form submission.', array('%time' => $node->date))); - + if (isset($node->nid)) { $form['author']['date']['#default_value'] = $node->date; } -- cgit v1.2.3