diff --git a/include/class.mailfetch.php b/include/class.mailfetch.php
index d1ad8fbec966ce1a9b6b08211d0aacd54afb3930..d4d2029cb9a504b88fd525590f8d770ded296ce5 100644
--- a/include/class.mailfetch.php
+++ b/include/class.mailfetch.php
@@ -762,7 +762,7 @@ class MailFetcher {
         }
         // Allow continuation of thread without initial message or note
         elseif (($thread = Thread::lookupByEmailHeaders($vars))
-            && ($message = $entry->postEmail($vars))
+            && ($message = $thread->postEmail($vars))
         ) {
             // NOTE: This might not be a "ticket"
             $ticket = $thread->getObject();