Skip to content

Commit

Permalink
Fix bug in sending registration confirmation emails.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbooker committed Apr 4, 2017
1 parent dfe91d9 commit 5bf802d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/WorkflowTransition/UndergradRegistration.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function allowed(Internship $i)

public function doNotification(Internship $i, $note = null)
{
$email = \Intern\Email\RegistrationConfirmationEmail(\Intern\InternSettings::getInstance(), $i);
$email = new \Intern\Email\RegistrationConfirmationEmail(\Intern\InternSettings::getInstance(), $i);
$email->send();
}

Expand Down

0 comments on commit 5bf802d

Please sign in to comment.