Fix sender in bo_tracking (was using this->user not ->get_sender)

This commit is contained in:
José Luis Gordo Romero 2007-12-04 05:12:20 +00:00
parent 33b2504316
commit f7255ea33c

View File

@ -384,7 +384,7 @@ class bo_tracking
$notification = new notification(); $notification = new notification();
$notification->set_receivers(array($user_or_lang)); $notification->set_receivers(array($user_or_lang));
$notification->set_message($this->get_body($html_email,$data,$old)); $notification->set_message($this->get_body($html_email,$data,$old));
$notification->set_sender($this->user); $notification->set_sender($sender);
$notification->set_subject($subject); $notification->set_subject($subject);
// does not work atm // does not work atm
//$notification->set_links(array($this->get_notification_link($data,$old))); //$notification->set_links(array($this->get_notification_link($data,$old)));