diff options
-rw-r--r-- | jquery_drawer.module | 4 |
1 files 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 .= '<ul id="drw_item" class="hidden">'; |