Permalink
Browse files

Fixed misformed options array in entry/connect.

  • Loading branch information...
1 parent 5710a2b commit af1e6b4b5737ebfabd122b7102cefec2260848b1 @tburry tburry committed Nov 1, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 applications/dashboard/controllers/class.entrycontroller.php
@@ -506,8 +506,7 @@ public function Connect($Method) {
$User['Name'] = $User['ConnectName'];
$User['Password'] = RandomString(50); // some password is required
$User['HashMethod'] = 'Random';
-
- $UserID = $UserModel->Register($User, array('CheckCaptcha' => FALSE), array('NoConfirmEmail' => TRUE));
+ $UserID = $UserModel->Register($User, array('CheckCaptcha' => FALSE, 'NoConfirmEmail' => TRUE));
$User['UserID'] = $UserID;
$this->Form->SetValidationResults($UserModel->ValidationResults());

0 comments on commit af1e6b4

Please sign in to comment.