From e32c98656967c2dc628a04605f54f4b8d50cfe66 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@enhancesoft.com>
Date: Tue, 9 Jun 2015 20:49:53 +0000
Subject: [PATCH] oops: Typo on class name

---
 include/class.mailfetch.php | 2 +-
 include/class.mailparse.php | 2 +-
 include/class.ticket.php    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/class.mailfetch.php b/include/class.mailfetch.php
index d4d2029cb..c85815138 100644
--- a/include/class.mailfetch.php
+++ b/include/class.mailfetch.php
@@ -531,7 +531,7 @@ class MailFetcher {
                     if ($body = $this->getPart(
                         $mid, 'text/plain', $this->charset, $struct, false, 3, false
                     )) {
-                        return new TextThreadBody($body);
+                        return new TextThreadEntryBody($body);
                     }
                 }
             }
diff --git a/include/class.mailparse.php b/include/class.mailparse.php
index 083e3b26c..8d0f237fd 100644
--- a/include/class.mailparse.php
+++ b/include/class.mailparse.php
@@ -279,7 +279,7 @@ class Mail_Parse {
             && $this->struct->ctype_parameters['report-type'] == 'delivery-status'
         ) {
             if ($body = $this->getPart($this->struct, 'text/plain', 3, false))
-                return new TextThreadBody($body);
+                return new TextThreadEntryBody($body);
         }
         return false;
     }
diff --git a/include/class.ticket.php b/include/class.ticket.php
index 4d252dcf7..9eb714dc4 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -3289,7 +3289,7 @@ implements RestrictedAccess, Threadable {
         // Not assigned...save optional note if any
         if (!$vars['assignId'] && $vars['note']) {
             if (!$cfg->isRichTextEnabled()) {
-                $vars['note'] = new TextThreadBody($vars['note']);
+                $vars['note'] = new TextThreadEntryBody($vars['note']);
             }
             $ticket->logNote(_S('New Ticket'), $vars['note'], $thisstaff, false);
         }
-- 
GitLab