--- contact_importer.module.orig 2009-08-20 19:30:33.000000000 -0700 +++ contact_importer.module 2009-08-20 19:30:54.000000000 -0700 @@ -140,7 +140,7 @@ function contact_importer_settings() { } // Provide a choice of retrieval engine. - $form['engines'] = array( + $form['contact_importer_engine'] = array( '#type' => 'radios', '#title' => t('Retrieval engines'), '#description' => t('Choose a retreival engine to integrate with your retreival service. '. @@ -152,14 +152,14 @@ function contact_importer_settings() { foreach ($engines as $engine => $engine_attributes) { $engine_exists = module_exists($engine); $total_engines += $engine_exists; - $form['engines'][] = array( + $form['contact_importer_engine'][] = array( '#type' => 'radio', '#title' => l($engine_attributes['name'], $engine_attributes['url']), '#return_value' => $engine, '#disabled' => !$engine_exists, - '#default_value' => $engine == $current_engine && $engine_exists ? $engine : '', + '#default_value' => (($engine == $current_engine) && $engine_exists)? $engine : '', // To get all radios to be a part of the same group. - '#parents' => array('engines'), + '#parents' => array('contact_importer_engine'), ); // Do checks for include files.