diff --git a/gecka-terms-ordering.php b/gecka-terms-ordering.php index 84924e6..7a0848c 100644 --- a/gecka-terms-ordering.php +++ b/gecka-terms-ordering.php @@ -312,7 +312,7 @@ public function terms_clauses( $clauses, $taxonomies, $args ) { global $wpdb; $taxonomies = (array) $taxonomies; - if ( sizeof( $taxonomies === 1 ) ) { + if ( sizeof( $taxonomies ) === 1 ) { $taxonomy = array_shift( $taxonomies ); } else { return $clauses; @@ -418,4 +418,4 @@ function remove_term_ordering_support( $taxonomy ) { function has_term_ordering_support( $taxonomy ) { return Gecka_Terms_Ordering::has_support( $taxonomy ); } -} \ No newline at end of file +}