aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-11-18 15:26:52 -0200
committerSilvio <silvio@socioambiental.org>2013-11-18 15:26:52 -0200
commit50b931e66deb107f5d1ddce1461bf4dd895429e1 (patch)
treeafb232966ae19f5c6c19a8bc87740f7ec41bbdf3
parent7c0a773abf43c6e971d81740d28373803fbf7530 (diff)
downloadjquery_drawer-50b931e66deb107f5d1ddce1461bf4dd895429e1.tar.gz
jquery_drawer-50b931e66deb107f5d1ddce1461bf4dd895429e1.tar.bz2
Coding style
-rw-r--r--jquery_drawer.module7
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) {