From c35c0942d088924cd5f0d3ecda29800fe317869c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 16 Nov 2006 01:43:04 +0000 Subject: [PATCH] r1287: Mail::set() no longer exists, but Mail::setSubject() does --- includes/class_notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class_notification.php b/includes/class_notification.php index f1e13df..b7cb632 100644 --- a/includes/class_notification.php +++ b/includes/class_notification.php @@ -644,7 +644,7 @@ Initial report: { // get the current bug for permissions checks $bug = $this->registry->db->query_first("SELECT * FROM " . TABLE_PREFIX . "bug WHERE bugid = " . $this->bug['bugid']); - $this->registry->mail->set('subject', sprintf(_('%1$s Bug Notification - %2$s'), $this->registry->options['trackertitle'], $this->bug['summary'])); + $this->registry->mail->setSubject(sprintf(_('%1$s Bug Notification - %2$s'), $this->registry->options['trackertitle'], $this->bug['summary'])); foreach ($this->notices AS $userid => $noticelist) { if ($userid == $this->registry->userinfo['userid']) -- 2.22.5