Skip to content

Commit b401693

Browse files
author
Eric Carlsson
authored
Merge pull request #4 from OssianEriksson/master
Fixed typo generating warnings
2 parents fc40b40 + 928ef06 commit b401693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/metabox/init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ public static function set_mb_type( $meta_box ) {
758758
if ( is_string( $meta_box['pages'] ) )
759759
$type = $meta_box['pages'];
760760
// if it's an array of one, extract it
761-
elseif ( is_array( $meta_box['pages'] ) && count( $meta_box['pages'] === 1 ) )
761+
elseif ( is_array( $meta_box['pages'] ) && count( $meta_box['pages'] ) === 1 )
762762
$type = is_string( end( $meta_box['pages'] ) ) ? end( $meta_box['pages'] ) : false;
763763

764764
if ( !$type )

0 commit comments

Comments
 (0)