diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index d36ede1..ad7b59f 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -682,6 +682,9 @@ function taxonomy_update_7005(&$sandbox) { $query->orderBy('tn.vid'); $query->orderBy('td.weight'); $query->orderBy('tn.tid'); + $fields =& $query->getFields(); + unset($fields['td.weight']); + unset($fields['tn.tid']); // 'return' => Database::RETURN_NULL is required for this insert, as // the table is new/empty, and $query may return no rows.