From 88b91745b2ade59efc4aa5747ff9aeedade6ebee Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 4 Feb 2014 15:14:16 -0800 Subject: [PATCH] CRM-14121 - Apply patch by Ben Wilhelm --- CRM/Utils/System/Drupal.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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], -- 2.25.1