CRM-12008 e-Notice fixes
authoreileen <eileen@fuzion.co.nz>
Tue, 5 Mar 2013 00:27:31 +0000 (13:27 +1300)
committereileen <eileen@fuzion.co.nz>
Tue, 5 Mar 2013 00:37:27 +0000 (13:37 +1300)
Conflicts:

CRM/Utils/System/Drupal.php

CRM/Utils/System/Drupal.php

index 29c51ba2496a20c1c29a3dc62682a0a1f6846d9a..089a793ebba95ea591f9e7560c38a7c9847789f7 100644 (file)
@@ -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;