diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-06 16:40:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-06 16:40:08 +0000 |
commit | 8a07a7895cc509f6cf850c9ebfeb8c3ca6182614 (patch) | |
tree | ba81967c11866b3d7294861b08080f46c1d42569 /modules/taxonomy/taxonomy.module | |
parent | 6a7f341e6143b4d788492f7d61b8be8a4f4db1f1 (diff) | |
download | brdo-8a07a7895cc509f6cf850c9ebfeb8c3ca6182614.tar.gz brdo-8a07a7895cc509f6cf850c9ebfeb8c3ca6182614.tar.bz2 |
- Patch #676046 by chx: fixed oopsie in taxonomy index.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 539100bb5..32b5c2e25 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1404,7 +1404,7 @@ function taxonomy_field_insert($obj_type, $object, $field, $instance, $langcode, * Implements hook_field_update(). */ function taxonomy_field_update($obj_type, $object, $field, $instance, $langcode, &$items) { - if (variable_get('taxonomy_maintain_index_table', TRUE) && $field['storage']['type'] == 'field_sql_storage' && $obj_type = 'node') { + if (variable_get('taxonomy_maintain_index_table', TRUE) && $field['storage']['type'] == 'field_sql_storage' && $obj_type == 'node') { $first_call = &drupal_static(__FUNCTION__, array()); // We don't maintain data for old revisions, so clear all previous values |