Skip to content
Snippets Groups Projects
Commit 4cef415c authored by Demian Katz's avatar Demian Katz
Browse files

Bug fix: missing parameter.

parent 50f04983
No related merge requests found
...@@ -193,7 +193,7 @@ class Mailer implements \VuFind\I18n\Translator\TranslatorAwareInterface ...@@ -193,7 +193,7 @@ class Mailer implements \VuFind\I18n\Translator\TranslatorAwareInterface
public function sendRecord($to, $from, $msg, $record, $view, $subject = null) public function sendRecord($to, $from, $msg, $record, $view, $subject = null)
{ {
if (null === $subject) { if (null === $subject) {
$subject = $this->getDefaultRecordSubject(); $subject = $this->getDefaultRecordSubject($record);
} }
$body = $view->partial( $body = $view->partial(
'Email/record.phtml', 'Email/record.phtml',
...@@ -216,4 +216,4 @@ class Mailer implements \VuFind\I18n\Translator\TranslatorAwareInterface ...@@ -216,4 +216,4 @@ class Mailer implements \VuFind\I18n\Translator\TranslatorAwareInterface
return $this->translate('Library Catalog Record') . ': ' return $this->translate('Library Catalog Record') . ': '
. $record->getBreadcrumb(); . $record->getBreadcrumb();
} }
} }
\ No newline at end of file
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