diff --git a/include/staff/helptopics.inc.php b/include/staff/helptopics.inc.php
index 54d05a395d6ee0580c114a77d8091690af67ad8c..ab918d7a52bda9ded819bfa16db80bf9e753e1d8 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>