projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f0649a
)
CRM-14121 - Apply patch by Ben Wilhelm
author
Coleman Watts
<coleman@civicrm.org>
Tue, 4 Feb 2014 23:14:16 +0000
(15:14 -0800)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 4 Feb 2014 23:14:16 +0000
(15:14 -0800)
CRM/Utils/System/Drupal.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/Drupal.php
b/CRM/Utils/System/Drupal.php
index 23ea8ee70e4c25f9f581a260cbed5e8ec385fd10..6e41423360fa8c01856316fba9952052d133b34c 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],