diff --git a/includes/widgets/class-wc-widget-layered-nav.php b/includes/widgets/class-wc-widget-layered-nav.php index ae552389f57..901c70e95ad 100644 --- a/includes/widgets/class-wc-widget-layered-nav.php +++ b/includes/widgets/class-wc-widget-layered-nav.php @@ -504,7 +504,7 @@ class WC_Widget_Layered_Nav extends WC_Widget { } if ( ! empty( $current_filter ) ) { - asort($current_filter); + asort( $current_filter ); $link = add_query_arg( $filter_name, implode( ',', $current_filter ), $link ); // Add Query type Arg to URL