Skip to content

Commit

Permalink
Revert accidental changes
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jul 31, 2024
1 parent f5ebee4 commit b906e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/user/form/ContactForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function fetch($request, $template = null, $display = false)
$templateMgr = TemplateManager::getManager($request);

$invitationModel = InvitationModel::byType(ChangeProfileEmailInvite::INVITATION_TYPE)
->withUserId($this->_user->getId())
->byUserId($this->_user->getId())
->stillActive()
->first();

Expand Down Expand Up @@ -130,7 +130,7 @@ public function cancelPendingEmail()
$user = $this->getUser();

$invitationModel = InvitationModel::byType(ChangeProfileEmailInvite::INVITATION_TYPE)
->withUserId($user->getId())
->byUserId($user->getId())
->stillActive()
->first();

Expand Down

0 comments on commit b906e39

Please sign in to comment.