Less fugly conditonal.

This commit is contained in:
Mike Jolley 2013-04-16 14:47:16 +01:00
parent c211603fc9
commit 6a96cc5d4c
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ if ( empty( $attributes ) && ( ! $product->enable_dimensions_display() || ( ! $p
<?php foreach ( $attributes as $attribute ) :
if ( ! isset( $attribute['is_visible'] ) || ! $attribute['is_visible'] || $attribute['is_taxonomy'] && ! taxonomy_exists( $attribute['name'] ) )
if ( empty( $attribute['is_visible'] ) || ( $attribute['is_taxonomy'] && ! taxonomy_exists( $attribute['name'] ) ) )
continue;
?>