Skip to content

Commit

Permalink
Merge pull request #129 from multnomah-county-it/dev
Browse files Browse the repository at this point in the history
Fixed email field name bug
  • Loading branch information
john-c-houser authored Jan 31, 2024
2 parents b42c380 + 89db75e commit 30a4c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libilsws.php
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,7 @@ public function register_patron ($patron, $token = null, $addr_num = null, $temp

if ( $template ) {
$subject = 'Welcome to Multnomah County Library';
if ( ! $this->email_template($patron, $this->config['symphony']['from_email'], $patron['email'], $subject, $template) ) {
if ( ! $this->email_template($patron, $this->config['symphony']['from_email'], $patron['EMAIL'], $subject, $template) ) {
throw new Exception('Email to patron failed');
exit();
}
Expand Down

0 comments on commit 30a4c10

Please sign in to comment.