From e34bcd7d90f39a5ec540c9429cc7ae3f6e18fdc8 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Wed, 16 Oct 2019 18:20:02 +0200 Subject: [PATCH] Fix nome stampe in email --- src/Notifications/EmailNotification.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Notifications/EmailNotification.php b/src/Notifications/EmailNotification.php index fa3798c9c..cab124c4a 100644 --- a/src/Notifications/EmailNotification.php +++ b/src/Notifications/EmailNotification.php @@ -221,10 +221,6 @@ class EmailNotification extends PHPMailer implements NotificationInterface { $print = Prints::get($print); - if (empty($name)) { - $name = $print['title'].'.pdf'; - } - // Utilizzo di una cartella particolare per il salvataggio temporaneo degli allegati $path = DOCROOT.'/files/notifications/'.rand(0, 999);