projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-02-05-17-16-30
[civicrm-core.git]
/
CRM
/
Utils
/
System
/
Drupal.php
diff --git
a/CRM/Utils/System/Drupal.php
b/CRM/Utils/System/Drupal.php
index f562826c4ef99cc48b8fd554546c80d4f3907a1e..da839d9f935af0f1dbb0f3b4ff1d5cc551bd167e 100644
(file)
--- 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],