diff --git a/include/staff/category.inc.php b/include/staff/category.inc.php index 5ac65cc2131e550dd05bf61f60e602c7fd981829..ddfceba065443ad545249feccfac0a2e0565ba89 100644 --- a/include/staff/category.inc.php +++ b/include/staff/category.inc.php @@ -51,9 +51,9 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <div style="margin:8px 0"><strong><?php echo __('Category Type');?>:</strong> <span class="error">*</span></div> <div style="margin-left:5px"> - <input type="radio" name="ispublic" value="2" <?php echo $info['ispublic']?'checked="checked"':''; ?>><b><?php echo __('Featured');?></b> <?php echo __('(on front-page sidebar)');?> + <input type="radio" name="ispublic" value="2" <?php echo $info['ispublic']==2?'checked="checked"':''; ?>><b><?php echo __('Featured');?></b> <?php echo __('(on front-page sidebar)');?> <br/> - <input type="radio" name="ispublic" value="1" <?php echo $info['ispublic']?'checked="checked"':''; ?>><b><?php echo __('Public');?></b> <?php echo __('(publish)');?> + <input type="radio" name="ispublic" value="1" <?php echo $info['ispublic']==1?'checked="checked"':''; ?>><b><?php echo __('Public');?></b> <?php echo __('(publish)');?> <br/> <input type="radio" name="ispublic" value="0" <?php echo !$info['ispublic']?'checked="checked"':''; ?>><?php echo __('Private');?> <?php echo __('(internal)');?> <br/>