Skip to content

Commit

Permalink
Correcting param for reigster method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zane committed Sep 28, 2015
1 parent e40ddfa commit 44f8e70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ALRCore/ALRRegister.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ public function setupNewUser( $args=null, $is_ajax=true ) {

}

$status = array_merge( $status, $this->registerRedirect( $user['user_login'], $status['code'] ) );
$status = array_merge( $status, array(
'redirect_url' => $this->registerRedirect( $user['user_login'], $status['code'] ) )
);

if ( $is_ajax ) {

Expand Down

0 comments on commit 44f8e70

Please sign in to comment.