From f92cd368d46f07c25e0ff3f05c1d35c14e8815a7 Mon Sep 17 00:00:00 2001
From: soif <wxopwx@gmail.com>
Date: Wed, 1 Aug 2012 14:02:39 +0200
Subject: [PATCH] Fix Quoted Reply not removed : Typo: $message instead of $msg

---
 include/class.ticket.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class.ticket.php b/include/class.ticket.php
index da45d5193..2235a3bec 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -1302,8 +1302,8 @@ class Ticket{
         //Strip quoted reply...on emailed replies
         if(!strcasecmp($source, 'Email') 
                 && $cfg->stripQuotedReply() 
-                && ($tag=$cfg->getReplySeparator()) && strpos($msg, $tag))
-            list($msg)=split($tag, $msg);
+                && ($tag=$cfg->getReplySeparator()) && strpos($message, $tag))
+            list($message)=split($tag, $message);
 
 
         # XXX: Refuse auto-response messages? (via email) XXX: No - but kill our auto-responder.
-- 
GitLab