Index: submitted_by.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/submitted_by/submitted_by.module,v
retrieving revision 1.2
diff -u -r1.2 submitted_by.module
--- submitted_by.module	9 Jun 2008 16:04:33 -0000	1.2
+++ submitted_by.module	20 Oct 2008 20:17:06 -0000
@@ -19,7 +19,7 @@
  * Add the pattern field to the node edit form.
  */
 function submitted_by_form_node_type_form_alter(&$form, &$form_state) {
-  $type = isset($form['identity']['type']) ? $form['identity']['type']['#default_value'] : '';
+  $type = isset($form['identity']['type']) ? $form['identity']['type']['#value'] : '';
   $form['appearance'] = array(
     '#type' => 'fieldset',
     '#collapsible' => TRUE,
