From 256756c780e4c5fc76249e18cf7b5daf0e08e3ea Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 22 Aug 2014 15:38:43 -0500
Subject: [PATCH] topic: Initial state has to derive from `open`

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

diff --git a/include/staff/helptopic.inc.php b/include/staff/helptopic.inc.php
index c4190b76c..e544218b5 100644
--- a/include/staff/helptopic.inc.php
+++ b/include/staff/helptopic.inc.php
@@ -138,7 +138,7 @@ if ($info['form_id'] == Topic::FORM_USE_PARENT) echo 'selected="selected"';
                 <select name="status_id">
                     <option value="">&mdash; <?php echo __('System Default'); ?> &mdash;</option>
                     <?php
-                    foreach (TicketStatusList::getStatuses() as $status) {
+                    foreach (TicketStatusList::getStatuses(array('states'=>array('open'))) as $status) {
                         $name = $status->getName();
                         if (!($isenabled = $status->isEnabled()))
                             $name.=' '.__('(disabled)');
-- 
GitLab