Skip to content

Commit

Permalink
Merge pull request #137 from FlorianWessels/fix-argument
Browse files Browse the repository at this point in the history
[BUGFIX] Use proper argument for createPasswordChangeTicketRaw
  • Loading branch information
glena authored Feb 20, 2017
2 parents b6817f2 + dc3fed4 commit 36a8974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/Management/Tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function createPasswordChangeTicket($user_id, $new_password = null, $resu
*/
public function createPasswordChangeTicketByEmail($email, $new_password = null, $result_url = null, $connection_id = null)
{
return $this->createPasswordChangeTicketRaw(null, $mail, $new_password, $result_url, $connection_id);
return $this->createPasswordChangeTicketRaw(null, $email, $new_password, $result_url, $connection_id);
}

/**
Expand Down

0 comments on commit 36a8974

Please sign in to comment.