diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-28 03:30:37 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-28 03:30:37 +0000 |
commit | 0c49d5794534fe9fd609c6884bdde8849edcb0eb (patch) | |
tree | 029343c988a2dd983e96ece91b2d6adb2e126509 /modules/taxonomy/taxonomy.admin.inc | |
parent | 782eb4c79c883466ad3414fa981e286b782afe6c (diff) | |
download | brdo-0c49d5794534fe9fd609c6884bdde8849edcb0eb.tar.gz brdo-0c49d5794534fe9fd609c6884bdde8849edcb0eb.tar.bz2 |
#358437 follow-up by David_Rothstein, sun, chx: Disallow invalid text format IDs; force 0 and non-existant formats to NULL.
Diffstat (limited to 'modules/taxonomy/taxonomy.admin.inc')
-rw-r--r-- | modules/taxonomy/taxonomy.admin.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index e89923ba9..8cdd14b2d 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -656,7 +656,7 @@ function taxonomy_form_term($form, &$form_state, $edit = array(), $vocabulary = $defaults = array( 'name' => '', 'description' => '', - 'format' => filter_default_format(), + 'format' => NULL, 'vocabulary_machine_name' => isset($vocabulary) ? $vocabulary->machine_name : NULL, 'tid' => NULL, 'weight' => 0, |