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

faq: Fix "featured" visibility not sticking

parent 105eaab9
No related branches found
No related tags found
No related merge requests found
......@@ -100,10 +100,10 @@ if ($topics = Topic::getAllHelpTopics()) {
<i class="help-tip icon-question-sign" href="#listing_type"></i>
</div>
<select name="ispublished">
<option value="2" <?php echo $info['ispublished'] ? 'selected="selected"' : ''; ?>>
<option value="2" <?php echo $info['ispublished'] == 2 ? 'selected="selected"' : ''; ?>>
<?php echo __('Featured (promote to front page)'); ?>
</option>
<option value="1" <?php echo $info['ispublished'] ? 'selected="selected"' : ''; ?>>
<option value="1" <?php echo $info['ispublished'] == 1 ? 'selected="selected"' : ''; ?>>
<?php echo __('Public').' '.__('(publish)'); ?>
</option>
<option value="0" <?php echo !$info['ispublished'] ? 'selected="selected"' : ''; ?>>
......
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