Skip to content
Snippets Groups Projects
Commit 8c3f08f0 authored by André Lahmann's avatar André Lahmann Committed by Robert Lange
Browse files

refs #17803 [finc] made email hold subject configurable

parent 453715d3
Branches
Tags
No related merge requests found
......@@ -29,8 +29,8 @@
*/
namespace finc\Controller\CustomTraits;
use VuFind\Exception\Mail as MailException;
use finc\Mailer\Mailer as Mailer;
use VuFind\Exception\Mail as MailException;
use Zend\Mail\Address as Address;
/**
......@@ -161,10 +161,12 @@ trait EmailHoldTrait
'Email/journalhold-plain.phtml',
$details
);
$subject = "Zeitschrift von " .
$details['patron']['lastname'] . ", " .
$details['patron']['firstname'] .
" | Signatur: " . $details['callnumber'];
$subject = sprintf(
$emailProfile->subject,
$details['patron']['lastname'],
$details['patron']['firstname'],
$details['callnumber']
);
$from = $reply = (
isset($details['patron']['email'])
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment