Skip to content

Commit

Permalink
Fix Checkbox Metabox
Browse files Browse the repository at this point in the history
  • Loading branch information
vincio87 committed Feb 26, 2016
1 parent 3e9b0d9 commit d3ce9c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/AeriaMetabox.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,8 @@ function show_field_radio($field, $meta) {

function show_field_checkbox($field, $meta) {
$this->show_field_begin($field, $meta);
echo "<input type='checkbox' name='{$field['id']}'" . checked(!empty($meta), true, false) . " />{$field['desc']}</td>";
echo "<input type='checkbox' name='{$field['id']}'" . checked(!empty($meta), true, false) . " />{$field['desc']}";
$this->show_field_end($field, $meta);
}

function show_field_wysiwyg($field, $meta) {
Expand Down

0 comments on commit d3ce9c8

Please sign in to comment.