From: Coleman Watts Date: Tue, 4 Feb 2014 23:14:16 +0000 (-0800) Subject: CRM-14121 - Apply patch by Ben Wilhelm X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=88b91745b2ade59efc4aa5747ff9aeedade6ebee;p=civicrm-core.git CRM-14121 - Apply patch by Ben Wilhelm --- diff --git a/CRM/Utils/System/Drupal.php b/CRM/Utils/System/Drupal.php index 23ea8ee70e..6e41423360 100644 --- a/CRM/Utils/System/Drupal.php +++ b/CRM/Utils/System/Drupal.php @@ -50,7 +50,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * */ function createUser(&$params, $mail) { - $form_state = array(); + $form_state = form_state_defaults(); + $form_state['input'] = array( 'name' => $params['cms_name'], 'mail' => $params[$mail],