diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-09 22:10:57 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-09 22:10:57 +0000 |
commit | 306a04e5032996f64eaa4fe6490c67a1e689ba80 (patch) | |
tree | 3ec37b096091188fddd65260b92cca9034fd89d2 /modules/node.module | |
parent | f1962e8fb1d55817924a4413dbc28dd19466d1a1 (diff) | |
download | brdo-306a04e5032996f64eaa4fe6490c67a1e689ba80.tar.gz brdo-306a04e5032996f64eaa4fe6490c67a1e689ba80.tar.bz2 |
#43032, Can't move forum topics created by anonymous (Authored by not set), patch by Cvbge.
Diffstat (limited to 'modules/node.module')
-rw-r--r-- | modules/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node.module b/modules/node.module index 0d023bd88..ee652ae06 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1717,7 +1717,7 @@ function node_form_array($node) { if (user_access('administer nodes')) { // Node author information $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', '#required' => TRUE, '#default_value' => $node->name ? $node->name : variable_get('anonymous', 'Anonymous'), '#weight' => -1); + $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, '#required' => TRUE, '#default_value' => $node->date); // Node options for administrators |