From bd1e39bbdd64ac209d7e181a657d76e29c96784b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 24 Jul 2003 11:02:38 +0000 Subject: [PATCH] Modif du contenu du mail --- htdocs/notify.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/notify.class.php b/htdocs/notify.class.php index e31aec8f25c..f2f6a6a780c 100644 --- a/htdocs/notify.class.php +++ b/htdocs/notify.class.php @@ -66,14 +66,14 @@ class Notify { $subject = "Notification Dolibarr"; $message = $texte; - $filename = $file; + $filename = split("/",$file); $replyto = MAIN_MAIL_FROM; $mailfile = new CMailFile($subject, $sendto, $replyto, $message, - $file, "application/pdf", $filename); + $file, "application/pdf", $filename[sizeof($filename)-1]); if ( $mailfile->sendfile() ) {