diff options
-rw-r--r-- | jquery_drawer.module | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/jquery_drawer.module b/jquery_drawer.module index ab33aef..64593ff 100644 --- a/jquery_drawer.module +++ b/jquery_drawer.module @@ -182,11 +182,8 @@ function jquery_drawer_page($tid = NULL) { AND n.status = "1" ORDER BY term_node.weight_in_tid ASC'; $query2 = db_rewrite_sql($query); - - - $nodes = db_query(db_rewrite_sql($query), implode(',', $filter)); - - $tree = taxonomy_node_tree_build($nodes, $terms); + $nodes = db_query(db_rewrite_sql($query), implode(',', $filter)); + $tree = taxonomy_node_tree_build($nodes, $terms); // format output if (is_array($tree) && $tree != NULL) { |