summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-06 16:40:08 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-06 16:40:08 +0000
commit8a07a7895cc509f6cf850c9ebfeb8c3ca6182614 (patch)
treeba81967c11866b3d7294861b08080f46c1d42569 /modules/taxonomy/taxonomy.module
parent6a7f341e6143b4d788492f7d61b8be8a4f4db1f1 (diff)
downloadbrdo-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.module2
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