? db_select_5_3.patch Index: nodeformcols.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/nodeformcols/nodeformcols.module,v retrieving revision 1.7.2.2 diff -u -p -r1.7.2.2 nodeformcols.module --- nodeformcols.module 25 Sep 2010 20:33:58 -0000 1.7.2.2 +++ nodeformcols.module 13 Oct 2010 18:45:32 -0000 @@ -192,8 +192,8 @@ function nodeformcols_node_type_update($ $base = 'nodeformscols_field_placements_' . $info->old_type; $new_base = 'nodeformscols_field_placements_' . $info->type; $result = db_select('variable') - ->condition('name', $base . '%', 'LIKE') ->fields('variable', array('name')) + ->condition('name', $base . '%', 'LIKE') ->execute(); foreach ($result as $row) { $value = variable_get($row->name, NULL);