Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Commit

Permalink
Fixed logic typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JPry committed May 6, 2012
1 parent bd5888f commit 03d04ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.php
Expand Up @@ -272,7 +272,7 @@ function show() {
echo '<p class="cmb_metabox_description">', $field['desc'], '</p>'; echo '<p class="cmb_metabox_description">', $field['desc'], '</p>';
break; break;
case 'checkbox': case 'checkbox':
echo '<input type="checkbox" name="', $field['id'], '" id="', $field['id'], '"', checked( ( $meta == true || $field['std'] ), true, false ), ' />'; echo '<input type="checkbox" name="', $field['id'], '" id="', $field['id'], '"', checked( ( $meta == true && $field['std'] ), true, false ), ' />';
echo '<span class="cmb_metabox_description">', $field['desc'], '</span>'; echo '<span class="cmb_metabox_description">', $field['desc'], '</span>';
break; break;
case 'multicheck': case 'multicheck':
Expand Down

0 comments on commit 03d04ea

Please sign in to comment.