Added 'false' check in variation admin

@claudiosmweb Closes #8966
This commit is contained in:
Mike Jolley 2015-09-01 16:35:13 +01:00
parent c65d227105
commit dd7c32c22c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ extract( $variation_data );
foreach ( $parent_data['attributes'] as $attribute ) {
// Only deal with attributes that are variations
if ( ! $attribute['is_variation'] ) {
if ( ! $attribute['is_variation'] || 'false' === $attribute['is_variation'] ) {
continue;
}