--- /var/www/forward/forward.module 2007-03-29 17:33:50.000000000 +0200 +++ sites/all/modules/forward/forward.module 2007-04-03 14:11:22.299258400 +0200 @@ -620,11 +620,11 @@ function forward_form_alter($form_id, &$form){ // Add the node-type settings option to activate the email this page link if ('node_type_form' == $form_id) { - $form['workflow']['forward_display_'. $form['type']['#value']] = array( + $form['workflow']['forward_display'] = array( '#type' => 'checkbox', '#title' => t('Show forwarding link/form'), '#return_value' => 1, - '#default_value' => variable_get('forward_display_'. $form['type']['#value'], '1'), + '#default_value' => variable_get('forward_display_'. $form['#node_type']->type, '1'), '#description' => t('Displays the form/link to allow visitors to forward the page to a friend. Further configuration is available on the !settings.', array('!settings' => l(t('settings page'), 'admin/settings/forward' ))), ); }