From 92c9f8997bab009403829008ffcf9035f05e14c2 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 11 Mar 2014 17:17:12 -0500
Subject: [PATCH] lint: Fix incorrect variable name

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

diff --git a/include/class.thread.php b/include/class.thread.php
index 29b7a5bdf..b4c10305d 100644
--- a/include/class.thread.php
+++ b/include/class.thread.php
@@ -917,7 +917,7 @@ Class ThreadEntry {
         if (!$thread)
             return false;
 
-        if (0 === strcasecmp($thread->asMessageId($from, $vers), $mid))
+        if (0 === strcasecmp($thread->asMessageId($from, $ver), $mid))
             return $thread;
     }
 
-- 
GitLab