1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-05 18:27:32 +01:00

Fix nome stampe

This commit is contained in:
Thomas Zilio 2019-10-18 16:51:47 +02:00
parent db322458cb
commit aface46fce

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);
}