From: eileen Date: Tue, 5 Mar 2013 00:27:31 +0000 (+1300) Subject: CRM-12008 e-Notice fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=805b0f6e7423bbe0c06790c33268368670d56e9a;p=civicrm-core.git CRM-12008 e-Notice fixes Conflicts: CRM/Utils/System/Drupal.php --- diff --git a/CRM/Utils/System/Drupal.php b/CRM/Utils/System/Drupal.php index 29c51ba249..089a793ebb 100644 --- a/CRM/Utils/System/Drupal.php +++ b/CRM/Utils/System/Drupal.php @@ -72,6 +72,7 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_Base { $form_state['rebuild'] = FALSE; $form_state['programmed'] = TRUE; + $form_state['complete form'] = FALSE; $form_state['method'] = 'post'; $form_state['build_info']['args'] = array(); /* @@ -88,7 +89,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_Base { $form = drupal_retrieve_form('user_register_form', $form_state); $form_state['process_input'] = 1; $form_state['submitted'] = 1; - + $form['#array_parents'] = array(); + $form['#tree'] = FALSE; drupal_process_form('user_register_form', $form, $form_state); $config->inCiviCRM = FALSE;