Skip to content
Snippets Groups Projects
Commit 6d52ee7b authored by JediKev's avatar JediKev
Browse files

oops: Fix Default Dept. Error

This addresses issue 3934 where setting the Default Department to
Private will throw “Fix errors below” error without showing the specific
error below. This adds the error class to the field so the system will
show what to fix.
parent d2ef3b1f
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,7 @@ $info = Format::htmlchars(($errors && $_POST) ? $_POST : $info);
<input type="radio" name="ispublic" value="0" <?php echo !$info['ispublic']?'checked="checked"':''; ?>><strong><?php echo __('Private');?></strong> <?php echo mb_convert_case(__('(internal)'), MB_CASE_TITLE);?>
</label>
&nbsp;<i class="help-tip icon-question-sign" href="#type"></i>
&nbsp;<span class="error"><?php echo $errors['ispublic']; ?></span>
</td>
</tr>
<tr>
......
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