From f6784bb4e297d3cc21d9b3cea419190141c19765 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Mon, 17 Aug 2015 09:38:34 -0500
Subject: [PATCH] topic: Fix incorrect priority in listing page

---
 include/staff/helptopics.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/staff/helptopics.inc.php b/include/staff/helptopics.inc.php
index 54d05a395..ab918d7a5 100644
--- a/include/staff/helptopics.inc.php
+++ b/include/staff/helptopics.inc.php
@@ -105,7 +105,7 @@ $order_by = ($cfg->getTopicSortMode() == 'm') ? 'sort' : 'topic';
                     $deptId = 0;
                     $dept = '';
                 }
-                $priority = $team->priority ?: $defaultPriority;
+                $priority = $topic->priority ?: $defaultPriority;
                 ?>
             <tr id="<?php echo $id; ?>">
                 <td width=7px>
-- 
GitLab