Fix nome stampe

This commit is contained in:
Thomas Zilio 2019-10-18 16:51:47 +02:00
parent db322458cb
commit aface46fce
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class EmailNotification extends PHPMailer implements NotificationInterface
// Stampe
$prints = $mail->prints;
foreach ($prints as $print) {
$this->addPrint($print['id'], $mail->id_record, $print['name']);
$this->addPrint($print['id'], $mail->id_record);
}
// Conferma di lettura
@ -226,7 +226,7 @@ class EmailNotification extends PHPMailer implements NotificationInterface
$info = Prints::render($print['id'], $id_record, $path);
$name = $name ?: $info['name'];
$this->addAttachment($info['path'], $name);
}