From 8543ab52c2916eb1263dd3332f4b77c32452918c Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 19 Nov 2013 16:45:17 -0200 Subject: Minor fix (5) --- jquery_drawer.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery_drawer.module b/jquery_drawer.module index 28a7ea9..70c3d21 100644 --- a/jquery_drawer.module +++ b/jquery_drawer.module @@ -90,7 +90,7 @@ function jquery_drawer_block($op = 'list', $delta = 0, $edit = array()) { */ function jquery_drawer_check_empty($tid) { $parents = array(); - $nodes = jquery_drawer_select_nodes(array($tid)); + $nodes = jquery_drawer_select_nodes($tid); $children = jquery_drawer_get_children($tid); while ($node = db_fetch_object($nodes)) { @@ -230,7 +230,7 @@ function jquery_drawer_page($tid = NULL) { if (!isset($cache[$tid])) { $output = ''; - $nodes = jquery_drawer_select_nodes(array($tid)); + $nodes = jquery_drawer_select_nodes($tid); $base = variable_get('jquery_drawer_link', 'node'); $tree = jquery_drawer_get_children($tid); $output .= '