From 4be5782a7c96a6d01cb36af7d5c307c45d02f688 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Thu, 2 Apr 2015 11:17:48 -0500
Subject: [PATCH] oops: Fix regressing in bounce processing

---
 include/class.mailfetch.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.mailfetch.php b/include/class.mailfetch.php
index 2950e7d14..1c3bf4fd6 100644
--- a/include/class.mailfetch.php
+++ b/include/class.mailfetch.php
@@ -657,7 +657,7 @@ class MailFetcher {
                 $vars['in-reply-to'] = @$headers['in-reply-to'] ?: null;
             }
             // Fetch deliver status report
-            $data['message'] = $this->getDeliveryStatusMessage($mid) ?: $this->getBody($mid);
+            $vars['message'] = $this->getDeliveryStatusMessage($mid) ?: $this->getBody($mid);
             $vars['thread-type'] = 'N';
             $vars['flags']['bounce'] = true;
         }
-- 
GitLab