*** acidfree.module.orig	2011-02-12 13:47:10.000000000 +0100
--- acidfree.module	2011-02-13 10:42:10.000000000 +0100
***************
*** 3436,3444 ****
      }
      _acidfree_filter_taxonomy($form['taxonomy'][$vid]);
      if (variable_get('acidfree_disable_album_selection', true)) {
!         $form['taxonomy'][$vid]['#prefix'] = '<div style="display:none">';
!         $form['taxonomy'][$vid]['#suffix'] = '</div>';
!         $term = taxonomy_get_term($form['parent'][$vid]['#default_value']);
          $form['label'] = array(
              '#type' => 'item',
              '#title' => t('Album'),
--- 3436,3446 ----
      }
      _acidfree_filter_taxonomy($form['taxonomy'][$vid]);
      if (variable_get('acidfree_disable_album_selection', true)) {
! 	$term = taxonomy_get_term($form['parent'][$vid]['#default_value']);
! 	$form['taxonomy'][$vid] = array(
! 		'#type' => 'value',
! 		'#value' => $term->tid,
! 	);
          $form['label'] = array(
              '#type' => 'item',
              '#title' => t('Album'),
