Hide dropdown when no layered nav terms are found. Closes #1997.

This commit is contained in:
Mike Jolley 2012-12-19 18:57:11 +00:00
parent 801fdc7420
commit 4fb98b0b91
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class WooCommerce_Widget_Layered_Nav extends WP_Widget {
$taxonomy_filter = str_replace( 'pa_', '', $taxonomy );
$found = true;
$found = false;
echo '<select id="dropdown_layered_nav_' . $taxonomy_filter . '">';