From 8a07a7895cc509f6cf850c9ebfeb8c3ca6182614 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 6 Jan 2010 16:40:08 +0000 Subject: - Patch #676046 by chx: fixed oopsie in taxonomy index. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3