From e3bb6c2efb7d49a8b19a0d632981c92b6ff8c8cd Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Mon, 17 Aug 2015 16:18:09 -0500
Subject: [PATCH] install: Fix install of some help topics

---
 include/class.topic.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/class.topic.php b/include/class.topic.php
index 6b8f814e1..557daf533 100644
--- a/include/class.topic.php
+++ b/include/class.topic.php
@@ -287,6 +287,7 @@ implements TemplateVariable {
         $topic = self::create($vars);
         if (!isset($vars['dept_id']))
             $vars['dept_id'] = 0;
+        $vars['id'] = $vars['topic_id'];
         $topic->update($vars, $errors);
         return $topic;
     }
-- 
GitLab