Skip to content
Snippets Groups Projects
Commit 256756c7 authored by Jared Hancock's avatar Jared Hancock
Browse files

topic: Initial state has to derive from `open`

parent fdccf268
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,7 @@ if ($info['form_id'] == Topic::FORM_USE_PARENT) echo 'selected="selected"'; ...@@ -138,7 +138,7 @@ if ($info['form_id'] == Topic::FORM_USE_PARENT) echo 'selected="selected"';
<select name="status_id"> <select name="status_id">
<option value="">&mdash; <?php echo __('System Default'); ?> &mdash;</option> <option value="">&mdash; <?php echo __('System Default'); ?> &mdash;</option>
<?php <?php
foreach (TicketStatusList::getStatuses() as $status) { foreach (TicketStatusList::getStatuses(array('states'=>array('open'))) as $status) {
$name = $status->getName(); $name = $status->getName();
if (!($isenabled = $status->isEnabled())) if (!($isenabled = $status->isEnabled()))
$name.=' '.__('(disabled)'); $name.=' '.__('(disabled)');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment