diff --git a/uc_order/uc_order.admin.inc b/uc_order/uc_order.admin.inc index 9a13963..770ab99 100644 --- a/uc_order/uc_order.admin.inc +++ b/uc_order/uc_order.admin.inc @@ -515,12 +515,13 @@ function uc_order_create_form($form, &$form_state) { if (!empty($options)) { // Display search results. + reset($options); $form['customer']['uid'] += array( '#type' => 'radios', '#title' => t('Select customer'), '#description' => $max ? t('More than !limit results found. Refine your search to find other customers.', array('!limit' => $limit - 1)) : '', + '#default_value' => key($options), '#options' => $options, - '#default_value' => reset(array_keys($options)), ); } else {