MTrackWeb/Cron/Notify.php
authorAlan Knowles <alan@akkbhome.com>
Sun, 12 Jun 2011 15:08:23 +0000 (23:08 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 12 Jun 2011 15:08:23 +0000 (23:08 +0800)
MTrackWeb/Cron/Notify.php

index 3f739b2..3bf44be 100644 (file)
@@ -118,8 +118,10 @@ class MTrackWeb_Cron_Notify extends MTrackWeb
         $ff = HTML_FlexyFramework::get();
      
         
+        $p = $ticket->project();
         $headers['To'] = '"'. addslashes($user->name). '" <' . $user->email .'>';
-        $headers['From'] =  $ff->MTrackWeb['email_address']; // could be the user who made the change...
+        $headers['From'] = '"'. addslashes($project->toEventString()). '" '. 
+                $ff->MTrackWeb['email_address']; // could be the user who made the change...
         
         //if (count($from) > 1) {
         //    $rep = array();